Skip to content

Commit

Permalink
Lock down Alpine version to use older Python
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Jun 20, 2024
1 parent 8989221 commit 7a746e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ze/theia-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# Copyright Contributors to the Zowe Project.

ARG NODE_VERSION=lts
FROM node:${NODE_VERSION}-alpine
RUN apk add --no-cache curl make pkgconfig gcc g++ "python3=~3.11" libx11-dev libxkbfile-dev libsecret-dev chromium
FROM node:${NODE_VERSION}-alpine3.19
RUN apk add --no-cache curl make pkgconfig gcc g++ python3 libx11-dev libxkbfile-dev libsecret-dev chromium
WORKDIR /home/theia
ADD buildPackageJson.js ./buildPackageJson.js
ARG THEIA_VERSION=latest
Expand All @@ -32,7 +32,7 @@ RUN yarn global add node-gyp && \
# curl -fLOJ https://github.com/zowe/vscode-extension-for-zowe/releases/download/v${ZOWE_EXPLORER_VERSION}/vscode-extension-for-zowe-${ZOWE_EXPLORER_VERSION}.vsix && \
# curl -fLOJ https://github.com/zowe/vscode-extension-for-zowe/releases/download/v${ZOWE_EXPLORER_VERSION}/zowe-explorer-ftp-extension-${ZOWE_EXPLORER_VERSION}.vsix

FROM node:${NODE_VERSION}-alpine
FROM node:${NODE_VERSION}-alpine3.19
# See : https://github.com/theia-ide/theia-apps/issues/34
RUN addgroup theia && \
adduser -G theia -s /bin/sh -D theia;
Expand Down

0 comments on commit 7a746e2

Please sign in to comment.