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 \
|
||||
apt update && \
|
||||
apt install software-properties-common && \
|
||||
curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public > adoptopenjdk.key && \
|
||||
apt-key add adoptopenjdk.key && \
|
||||
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
|
||||
apt update && \
|
||||
apt install adoptopenjdk-8-hotspot && \
|
||||
apt install -y maven && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN apt update
|
||||
RUN apt install 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 maven
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user