Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't know why this fixes it but it does #5

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions ze/theia-slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ FROM node:${NODE_VERSION}-alpine
RUN apk add --no-cache curl make pkgconfig gcc g++ python3 libx11-dev libxkbfile-dev libsecret-dev
WORKDIR /home/theia
ADD buildPackageJson.js ./buildPackageJson.js
RUN node buildPackageJson.js ${THEIA_VERSION} > package.json
RUN node --experimental-fetch buildPackageJson.js ${THEIA_VERSION} > package.json
ARG GITHUB_TOKEN
RUN yarn --pure-lockfile && \

# First yarn generates the lockfile, second one installs things. Don't ask why this is necessary, I don't know either -_-
RUN yarn && \
yarn && \
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && \
yarn theia download:plugins && \
yarn --production && \
Expand All @@ -23,7 +26,8 @@ RUN yarn --pure-lockfile && \
echo *.ts.map >> .yarnclean && \
echo *.spec.* >> .yarnclean && \
yarn autoclean --force && \
yarn cache clean
yarn cache clean && \
rm -f yarn.lock
# Uncomment the following lines to install Zowe Explorer in the container
# ARG ZOWE_EXPLORER_VERSION=2.9.2
# RUN cd /home/theia/plugins && \
Expand Down