-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gitpod] fix #4832: enable electron testing
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM gitpod/workspace-full-vnc:latest | ||
|
||
USER root | ||
# Install custom tools, runtime, etc. | ||
RUN apt-get update \ | ||
&& apt-get install -y libx11-dev libxkbfile-dev \ | ||
&& apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* | ||
|
||
USER gitpod | ||
# Apply user-specific settings | ||
RUN bash -c ". .nvm/nvm.sh \ | ||
&& nvm install 10 \ | ||
&& nvm use 10 \ | ||
&& npm install -g yarn" | ||
|
||
# Give back control | ||
USER root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters