fixes 2
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
ARG NODE_VERSION=17.1.0-buster-slim
|
ARG NODE_VERSION=17.1.0-buster-slim
|
||||||
|
|
||||||
FROM node:${NODE_VERSION}
|
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
|
ARG version=latest
|
||||||
WORKDIR /home/theia
|
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
|
ARG GITHUB_TOKEN
|
||||||
RUN yarn --pure-lockfile && \
|
RUN yarn --pure-lockfile && \
|
||||||
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
|
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
|
||||||
@@ -20,7 +22,7 @@ RUN yarn --pure-lockfile && \
|
|||||||
FROM node:${NODE_VERSION}
|
FROM node:${NODE_VERSION}
|
||||||
|
|
||||||
# Install Python 3 from source
|
# Install Python 3 from source
|
||||||
ARG VERSION=3.8.3
|
ARG VERSION=3.9.8
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
|
|||||||
Reference in New Issue
Block a user