Skip to content

Commit

Permalink
Swap openjdk 11 for 17
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Jun 18, 2024
1 parent 6d92d57 commit 504459a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV BIN_DIRECTORY=/usr/local/bin
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1

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

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

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

0 comments on commit 504459a

Please sign in to comment.