More complete Theia docker image

This commit is contained in:
Kris De Volder
2019-11-25 15:44:52 -08:00
parent 169d06330f
commit db5c267305
3 changed files with 51 additions and 18 deletions

View File

@@ -20,8 +20,13 @@ RUN cd /theia-app && \
RUN mkdir /theia-app/plugins && \
cd /theia-app/plugins && \
curl --compressed -o vscode-spring-boot.vsix https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Pivotal/vsextensions/vscode-spring-boot/1.13.0/vspackage
curl --compressed -o vscode-spring-boot.vsix \
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Pivotal/vsextensions/vscode-spring-boot/1.13.0/vspackage && \
curl --compressed -o vscode-concourse.vsix \
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Pivotal/vsextensions/vscode-concourse/1.13.0/vspackage && \
curl --compressed -o vscode-manifest-yaml.vsix \
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Pivotal/vsextensions/vscode-manifest-yaml/1.13.0/vspackage
WORKDIR /theia-app
ENV SHELL /bin/bash
CMD [ "yarn", "theia", "start", "--hostname=0.0.0.0", "--plugins=local-dir:/theia-app/plugins/" ]
ENTRYPOINT [ "yarn", "theia", "start", "--hostname=0.0.0.0", "--plugins=local-dir:/theia-app/plugins/", "/home/project" ]
EXPOSE 3000

View File

@@ -1,3 +1,5 @@
#!/bin/bash
JAVA_PROJECT_DIR=/home/kdvolder/git/kdvolder/chatter
docker build -t kdvolder/k8s-theia .
docker run -it -p 3000:3000 kdvolder/k8s-theia
docker run -it --init -p 3000:3000 -v "${JAVA_PROJECT_DIR}:/home/project" kdvolder/k8s-theia

View File

@@ -1,25 +1,51 @@
{
"private": true,
"dependencies": {
"typescript": "latest",
"@theia/typescript": "next",
"@theia/navigator": "next",
"@theia/terminal": "next",
"@theia/outline-view": "next",
"@theia/preferences": "next",
"@theia/messages": "next",
"@theia/git": "next",
"@theia/file-search": "next",
"@theia/markers": "next",
"@theia/preview": "next",
"typescript" : "latest",
"@theia/callhierarchy": "next",
"@theia/merge-conflicts": "next",
"@theia/search-in-workspace": "next",
"@theia/console": "next",
"@theia/core": "next",
"@theia/debug": "next",
"@theia/debug-nodejs": "next",
"@theia/editor": "next",
"@theia/editor-preview": "next",
"@theia/editorconfig": "next",
"@theia/file-search": "next",
"@theia/filesystem": "next",
"@theia/getting-started": "next",
"@theia/git": "next",
"@theia/java-debug": "next",
"@theia/json": "next",
"@theia/textmate-grammars": "next",
"@theia/keymaps": "next",
"@theia/languages": "next",
"@theia/markers": "next",
"@theia/merge-conflicts": "next",
"@theia/messages": "next",
"@theia/metrics": "next",
"@theia/mini-browser": "next",
"@theia/monaco": "next",
"@theia/navigator": "next",
"@theia/outline-view": "next",
"@theia/output": "next",
"@theia/plugin-dev": "next",
"@theia/plugin-ext": "next",
"@theia/plugin-ext-vscode": "next"
"@theia/plugin-ext-vscode": "next",
"@theia/plugin-metrics": "next",
"@theia/preferences": "next",
"@theia/preview": "next",
"@theia/process": "next",
"@theia/python": "next",
"@theia/scm": "next",
"@theia/search-in-workspace": "next",
"@theia/task": "next",
"@theia/terminal": "next",
"@theia/textmate-grammars": "next",
"@theia/tslint": "next",
"@theia/typehierarchy": "next",
"@theia/typescript": "next",
"@theia/userstorage": "next",
"@theia/variable-resolver": "next",
"@theia/workspace": "next"
},
"devDependencies": {
"@theia/cli": "next"