-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix dockerfile and build package on gitpod.io
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
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 |
---|---|---|
@@ -1,10 +1,17 @@ | ||
FROM gitpod/workspace-full-vnc:latest | ||
|
||
RUN dpkg --add-architecture i386 | ||
RUN apt-get update && apt-get -y install cabextract libxext6 libxext6:i386 libfreetype6 libfreetype6:i386 | ||
|
||
USER root | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt-get update \ | ||
&& apt-get install -y \ | ||
cabextract \ | ||
libxext6 \ | ||
libxext6:i386 \ | ||
libfreetype6 \ | ||
libfreetype6:i386 \ | ||
fakeroot \ | ||
&& apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* | ||
|
||
USER gitpod | ||
|
||
# activate java 11. It's already installed in the base image. | ||
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk install java" |
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