Skip to content

Commit 504459a

Browse files
committed
Swap openjdk 11 for 17
1 parent 6d92d57 commit 504459a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-tools/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV BIN_DIRECTORY=/usr/local/bin
44
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
55

66
RUN apt update && apt upgrade -y \
7-
&& apt install -y gnupg p11-kit openjdk-11-jdk unzip
7+
&& apt install -y gnupg p11-kit openjdk-17-jdk unzip
88

99
RUN curl -L -O https://download.java.net/openjdk/jdk7u75/ri/jdk_ri-7u75-b13-linux-x64-18_dec_2014.tar.gz \
1010
&& tar -xvf jdk_ri-7u75-b13-linux-x64-18_dec_2014.tar.gz \
@@ -37,7 +37,7 @@ ENV JAVA_HOME7="/usr/lib/jvm/java-se-7u75-ri"
3737
ENV JAVA_HOME8="/usr/lib/jvm/java-se-8u40-ri"
3838
ENV JAVA_HOME9="/usr/lib/jvm/jdk-9.0.4"
3939
ENV JAVA_HOME10="/usr/lib/jvm/jdk-10.0.2"
40-
ENV JAVA_HOME11="/usr/lib/jvm/java-11-openjdk-amd64"
40+
ENV JAVA_HOME11="/usr/lib/jvm/java-17-openjdk-amd64"
4141

4242
# update "cacerts" bundle to use Debian's CA certificates (and make sure it stays up-to-date with changes to Debian's store)
4343
# see https://github.com/docker-library/openjdk/issues/327

0 commit comments

Comments
 (0)