diff --git a/Dockerfile b/Dockerfile index 149df7c..ea2b9a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,10 @@ ENV VERSION 9.1.0-SNAPSHOT COPY response.varfile /response.varfile -RUN apt-get update && apt-get install -y ttf-ubuntu-font-family wget curl gzip bash && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y ttf-ubuntu-font-family wget gzip bash && rm -rf /var/lib/apt/lists/* -RUN curl -s "https://get.sdkman.io" \ - && sdk i java 17.0.8.1.fx-librca \ - && sdk default java 17.0.8.1.fx-librca +RUN wget https://download.bell-sw.com/java/17+35/bellsoft-jdk17+35-linux-amd64.deb \ + && apt install ./bellsoft-jdk17+35-linux-amd64.deb RUN wget -q -O hub.sh http://gridvis.janitza.de/download/${VERSION}/GridVis-Hub-${VERSION}-unix.sh \ && sh hub.sh -q -varfile /response.varfile \ @@ -20,9 +19,8 @@ FROM ubuntu:20.04 RUN useradd -r gridvis -u 101 && apt-get update && apt-get install -y ttf-ubuntu-font-family && rm -rf /var/lib/apt/lists/* -RUN curl -s "https://get.sdkman.io" \ - && sdk i java 17.0.8.1.fx-librca \ - && sdk default java 17.0.8.1.fx-librca +RUN wget https://download.bell-sw.com/java/17+35/bellsoft-jdk17+35-linux-amd64.deb \ + && apt install ./bellsoft-jdk17+35-linux-amd64.deb COPY --from=build /usr/local/GridVisHub /usr/local/GridVisHub