Skip to content

Commit

Permalink
Cedric fixt Dockerfile für Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
janitza-ansc authored Nov 24, 2023
1 parent f7bcadb commit 0578de8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit 0578de8

Please sign in to comment.