This repository was archived by the owner on Oct 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,21 +43,21 @@ RUN apt update &&\
43
43
apt install -y wget maven
44
44
45
45
ARG TARGET_ARCH
46
- ARG JDK_VERSION=11.0.16_8
46
+ ARG JDK_VERSION=11.0.16.1_1
47
47
48
- ENV OPENJDK_BASE_URL="https://github.com/AdoptOpenJDK/openjdk11-upstream -binaries/releases/download"
48
+ ENV OPENJDK_BASE_URL="https://github.com/adoptium/temurin11 -binaries/releases/download"
49
49
50
50
RUN ENCODED_VER=$(echo $JDK_VERSION | sed 's/_/%2B/g' ) && \
51
51
if [ "$TARGET_ARCH" = "amd64" ]; then \
52
- OPENJDK_URL="${OPENJDK_BASE_URL}/jdk-${ENCODED_VER}/OpenJDK11U-jdk_x64_linux_ ${JDK_VERSION}.tar.gz" ; \
52
+ OPENJDK_URL="${OPENJDK_BASE_URL}/jdk-${ENCODED_VER}/OpenJDK11U-jdk_x64_linux_hotspot_ ${JDK_VERSION}.tar.gz" ; \
53
53
else \
54
- OPENJDK_URL="${OPENJDK_BASE_URL}/jdk-${ENCODED_VER}/OpenJDK11U-jdk_aarch64_linux_ ${JDK_VERSION}.tar.gz" ; \
54
+ OPENJDK_URL="${OPENJDK_BASE_URL}/jdk-${ENCODED_VER}/OpenJDK11U-jdk_aarch64_linux_hotspot_ ${JDK_VERSION}.tar.gz" ; \
55
55
fi && \
56
56
wget -O /tmp/openjdk.tar.gz "$OPENJDK_URL"
57
57
58
58
RUN mkdir -p /opt/root && \
59
59
tar -C /opt/root -xzf /tmp/openjdk.tar.gz && \
60
- mv /opt/root/openjdk * /opt/root/jdk && \
60
+ mv /opt/root/jdk * /opt/root/jdk && \
61
61
rm -f /tmp/openjdk.tar.gz
62
62
63
63
ENV JAVA_HOME=/opt/root/jdk
You can’t perform that action at this time.
0 commit comments