Skip to content

Commit

Permalink
Fix THEIA_VERSION arg being empty in Docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
  • Loading branch information
t1m0thyj committed Nov 16, 2023
1 parent 50168ba commit 89be5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ze/theia-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
# Copyright Contributors to the Zowe Project.

ARG NODE_VERSION=lts
ARG THEIA_VERSION=latest
FROM node:${NODE_VERSION}-alpine
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
RUN echo $(node buildPackageJson.js ${THEIA_VERSION}) > package.json
ARG THEIA_VERSION=latest
RUN echo "$(node buildPackageJson.js ${THEIA_VERSION})" > package.json
ARG GITHUB_TOKEN
RUN yarn global add node-gyp && \
yarn --pure-lockfile && \
Expand Down

0 comments on commit 89be5b1

Please sign in to comment.