Skip to content

Commit

Permalink
fix dockerfile and build package on gitpod.io
Browse files Browse the repository at this point in the history
  • Loading branch information
jake5253 committed Mar 2, 2021
1 parent 01c2491 commit f9380fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
15 changes: 11 additions & 4 deletions .gitpod.dockerfile
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"
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ tasks:
- init: >
mvn install
command: >
cd phoenicis-javafx/ &&
mvn exec:java
cd phoenicis-dist/src/scripts &&
sh phoenicis-create-package.sh

0 comments on commit f9380fc

Please sign in to comment.