use adoptopenjdk directly
This commit is contained in:
parent
4e14e7507d
commit
1bab7a0258
@ -7,8 +7,11 @@ LABEL AlternativeImageName="wollud1969/build-env-java"
|
|||||||
|
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
|
||||||
|
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
|
||||||
|
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install -y openjdk-8-jdk-headless && \
|
apt install adoptopenjdk-8-hotspot
|
||||||
apt install -y maven && \
|
apt install -y maven && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user