diff --git a/theia-extensions/k8s-app/Dockerfile b/theia-extensions/k8s-app/Dockerfile index 9170c722b..e4b84bb5f 100644 --- a/theia-extensions/k8s-app/Dockerfile +++ b/theia-extensions/k8s-app/Dockerfile @@ -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 diff --git a/theia-extensions/k8s-app/docker-build-and-run.sh b/theia-extensions/k8s-app/docker-build-and-run.sh index d23de36d9..e6ccb8575 100755 --- a/theia-extensions/k8s-app/docker-build-and-run.sh +++ b/theia-extensions/k8s-app/docker-build-and-run.sh @@ -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 \ No newline at end of file +docker run -it --init -p 3000:3000 -v "${JAVA_PROJECT_DIR}:/home/project" kdvolder/k8s-theia diff --git a/theia-extensions/k8s-app/package.json b/theia-extensions/k8s-app/package.json index 464794578..dc8a88c52 100644 --- a/theia-extensions/k8s-app/package.json +++ b/theia-extensions/k8s-app/package.json @@ -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"