Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
chore(keytar): Adds library to build keytar + bump version (#1187)
Browse files Browse the repository at this point in the history
Change-Id: I8678670827a5c2914f733675b7d5941409dc9feb
Signed-off-by: Florent Benoit <[email protected]>
  • Loading branch information
benoitf authored Aug 3, 2021
1 parent dfe7934 commit e0d5c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ RUN apk add --update --no-cache \
rsync \
# patch (required in che-theia to apply patches)
patch \
# requirements to build keytar
libsecret-dev \
# requirements to run theia with yarn start
libsecret
2 changes: 1 addition & 1 deletion dockerfiles/theia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN rm -rf ${HOME}/theia-source-code/examples/browser && \
rm -rf ${HOME}/theia-source-code/packages/python && \
rm -rf ${HOME}/theia-source-code/packages/typescript && \
# Allow the usage of ELECTRON_SKIP_BINARY_DOWNLOAD=1 by using a more recent version of electron \
sed -i 's| "resolutions": {| "resolutions": {\n "**/electron": "7.0.0",|' ${HOME}/theia-source-code/package.json && \
sed -i 's| "resolutions": {| "resolutions": {\n "**/electron": "7.0.0",\n "**/keytar": "^7.7.0",|' ${HOME}/theia-source-code/package.json && \
# remove all electron-browser module to not compile them
find . -name "electron-browser" | xargs rm -rf {} && \
find . -name "*-electron-module.ts" | xargs rm -rf {} && \
Expand Down

0 comments on commit e0d5c61

Please sign in to comment.