Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Mar 24, 2024
1 parent aae0fea commit 9226955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ RUN wget https://apk.corretto.aws/amazoncorretto.rsa.pub -O /etc/apk/keys/amazon
amazon-corretto-11 \
amazon-corretto-17 \
amazon-corretto-21 && \
mkdir -vp /root/jdk/bin && \
mkdir -vp /tmp/jdk/bin && \
rm -vrf /usr/bin/java && \
ln -s /usr/lib/jvm/java-21-amazon-corretto/bin/java /usr/bin/java && \
ln -s /usr/lib/jvm/java-21-amazon-corretto/bin/java /root/jdk/bin/java && \
ln -s /usr/lib/jvm/java-21-amazon-corretto/bin/java /tmp/jdk/bin/java && \
wget https://dlcdn.apache.org/maven/maven-3/"$MAVEN_VERSION"/binaries/apache-maven-"$MAVEN_VERSION"-bin.tar.gz -O - | tar xz -C /usr/local/bin && \
mv /usr/local/bin/apache-maven-"$MAVEN_VERSION" /usr/local/bin/mvn && \
wget https://dlcdn.apache.org/maven/maven-4/"$MAVEN4_VERSION"/binaries/apache-maven-"$MAVEN4_VERSION"-bin.tar.gz -O - | tar xz -C /usr/local/bin && \
Expand Down

0 comments on commit 9226955

Please sign in to comment.