another fix in Dockerfile
This commit is contained in:
parent
eaf583a860
commit
8f3962c6df
19
Dockerfile
19
Dockerfile
@ -6,14 +6,13 @@ LABEL AlternativeImageName="wollud1969/build-env-java"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN \
|
RUN apt update
|
||||||
apt update && \
|
RUN apt install software-properties-common
|
||||||
apt install software-properties-common && \
|
RUN curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public > adoptopenjdk.key
|
||||||
curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public > adoptopenjdk.key && \
|
RUN apt-key add adoptopenjdk.key
|
||||||
apt-key add adoptopenjdk.key && \
|
RUN add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
|
||||||
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
|
RUN apt update
|
||||||
apt update && \
|
RUN apt install adoptopenjdk-8-hotspot
|
||||||
apt install adoptopenjdk-8-hotspot && \
|
RUN apt install -y maven
|
||||||
apt install -y maven && \
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user