This commit is contained in:
2021-11-15 12:46:14 +00:00
parent 4f4359830a
commit 847ef37f59

View File

@@ -1,10 +1,12 @@
ARG NODE_VERSION=17.1.0-buster-slim
FROM node:${NODE_VERSION}
RUN apt-get update && apt-get install -y libsecret-1-dev
RUN apt-get update && apt-get install -y wget libsecret-1-dev
ARG version=latest
WORKDIR /home/theia
ADD $version.package.json ./package.json
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
ARG GITHUB_TOKEN
RUN yarn --pure-lockfile && \
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
@@ -20,7 +22,7 @@ RUN yarn --pure-lockfile && \
FROM node:${NODE_VERSION}
# Install Python 3 from source
ARG VERSION=3.8.3
ARG VERSION=3.9.8
RUN apt-get update \
&& apt-get upgrade -y \