From 92269553bafce8ffbefc83b762412ff31d875214 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 24 Mar 2024 18:50:21 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4505985..cc7cf66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \