This commit is contained in:
Andreas Stephanides
2022-10-25 23:47:29 +02:00
parent f7e2e11b02
commit 7bc98e3e9a
2 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
# Node Verion 12 ist für manche Theia Pakete erforderlich. Update muss getestet werden
ARG NODE_VERSION=12.22
ARG NODE_VERSION=12.22-buster-slim
#ARG NODE_VERSION=18.10
# -buster-slim
# Builder Schritt hier wird das Package von Theia compiliert.
@@ -11,7 +12,7 @@ ADD latest.package.json ./package.json
ARG GITHUB_TOKEN
RUN yarn --pure-lockfile && \
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
yarn theia download:plugins && \
yarn theia download:plugins --ignore-errors && \
yarn --production && \
yarn autoclean --init && \
echo *.ts >> .yarnclean && \
@@ -20,7 +21,7 @@ RUN yarn --pure-lockfile && \
yarn autoclean --force && \
yarn cache clean
ARG NODE_VERSION=12.22
ARG NODE_VERSION=12.22-buster-slim
#-buster-slim
# Paket erzeugen und Requirements installieren
@@ -75,4 +76,4 @@ EXPOSE 3000
ENV SHELL=/bin/bash \
THEIA_DEFAULT_PLUGINS=local-dir:/home/theia/plugins
ENV USE_LOCAL_GIT true
ENTRYPOINT [ "node", "/home/theia/src-gen/backend/main.js", "/home/project", "--hostname=0.0.0.0" ]
ENTRYPOINT [ "node", "/home/theia/src-gen/backend/main.js", "/home/project", "--hostname=0.0.0.0" ]

View File

@@ -50,6 +50,7 @@
"vscode-builtin-handlebars": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/handlebars-1.39.1-prel.vsix",
"vscode-builtin-hlsl": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/hlsl-1.39.1-prel.vsix",
"vscode-builtin-html": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/html-1.39.1-prel.vsix",
"vscode-builtin-extensions-pack": "https://open-vsx.org/api/eclipse-theia/builtin-extension-pack/1.50.1/file/eclipse-theia.builtin-extension-pack-1.50.1.vsix",
"vscode-builtin-html-language-features": "https://open-vsx.org/api/vscode/html-language-features/1.49.0/file/vscode.html-language-features-1.49.0.vsix",
"vscode-builtin-ini": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/ini-1.39.1-prel.vsix",
"vscode-builtin-jake": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/jake-1.39.1-prel.vsix",