From f9380fc2a263c1898ed6458f82bcee3acc24e427 Mon Sep 17 00:00:00 2001 From: jake5253 Date: Tue, 2 Mar 2021 14:01:09 -0500 Subject: [PATCH] fix dockerfile and build package on gitpod.io --- .gitpod.dockerfile | 15 +++++++++++---- .gitpod.yml | 4 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 3d549d99ea9..12450b28b47 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -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" diff --git a/.gitpod.yml b/.gitpod.yml index 0721eb19d0f..28059f542bd 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -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