another fix in Dockerfile

This commit is contained in:
Wolfgang Hottgenroth 2020-09-25 11:26:21 +02:00
parent 8f3962c6df
commit 1b203fb644
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -7,12 +7,12 @@ LABEL AlternativeImageName="wollud1969/build-env-java"
RUN apt update
RUN apt install software-properties-common
RUN apt install -y software-properties-common
RUN curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public > adoptopenjdk.key
RUN apt-key add adoptopenjdk.key
RUN add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
RUN apt update
RUN apt install adoptopenjdk-8-hotspot
RUN apt install -y adoptopenjdk-8-hotspot
RUN apt install -y maven
RUN rm -rf /var/lib/apt/lists/*