Skip to content

Commit f9380fc

Browse files
committed
fix dockerfile and build package on gitpod.io
1 parent 01c2491 commit f9380fc

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.gitpod.dockerfile

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
FROM gitpod/workspace-full-vnc:latest
22

3-
RUN dpkg --add-architecture i386
4-
RUN apt-get update && apt-get -y install cabextract libxext6 libxext6:i386 libfreetype6 libfreetype6:i386
5-
3+
USER root
4+
RUN dpkg --add-architecture i386 \
5+
&& apt-get update \
6+
&& apt-get install -y \
7+
cabextract \
8+
libxext6 \
9+
libxext6:i386 \
10+
libfreetype6 \
11+
libfreetype6:i386 \
12+
fakeroot \
13+
&& apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
614

715
USER gitpod
8-
916
# activate java 11. It's already installed in the base image.
1017
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk install java"

.gitpod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ tasks:
1111
- init: >
1212
mvn install
1313
command: >
14-
cd phoenicis-javafx/ &&
15-
mvn exec:java
14+
cd phoenicis-dist/src/scripts &&
15+
sh phoenicis-create-package.sh

0 commit comments

Comments
 (0)