explicit package

This commit is contained in:
2021-11-15 16:53:17 +00:00
parent 847ef37f59
commit 0fa02daa4a
2 changed files with 105 additions and 3 deletions

View File

@@ -4,9 +4,7 @@ FROM node:${NODE_VERSION}
RUN apt-get update && apt-get install -y wget libsecret-1-dev
ARG version=latest
WORKDIR /home/theia
RUN wget https://github.com/theia-ide/theia-apps/blob/master/theia-python-docker/latest.package.json \
&& mv latest.package.json package.json
#ADD $version.package.json ./package.json
ADD latest.package.json ./package.json
ARG GITHUB_TOKEN
RUN yarn --pure-lockfile && \
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \