diff --git a/Jenkinsfile b/Jenkinsfile index e32818af06a1..08b681c110f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,7 +20,7 @@ env.label = "glassfish-ci-pod-${UUID.randomUUID().toString()}" // Docker image defined in this project in [glassfish]/etc/docker/Dockerfile -env.gfImage = "ee4jglassfish/ci:tini-jdk-11.0.10" +env.gfImage = "ee4jglassfish/ci:tini-jdk-11.0.14.1" def jobs = [ "verifyPhase", diff --git a/etc/docker/Dockerfile b/etc/docker/Dockerfile index ba358dba9a3a..c2c4268662ce 100644 --- a/etc/docker/Dockerfile +++ b/etc/docker/Dockerfile @@ -2,13 +2,14 @@ FROM krallin/centos-tini ADD ./entrypoint.sh /etc/ +# HOWTO: # -# The JDK was got from the following releases: -# -JDK11: https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/ -# releases/download/jdk-11.0.10%2B9/OpenJDK11U-jdk_x64_linux_11.0.10_9.tar.gz -# Since the JDK is a very large file, download and add the file manually. +# 1) cd etc/docker +# 2) wget https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.14.1%2B1/OpenJDK11U-jdk_x64_linux_11.0.14.1_1.tar.gz +# 3) tar -xvzf OpenJDK11U-jdk_x64_linux_11.0.14.1_1.tar.gz +# 4) make # takes aroung 5 minutes, depending on network speed # -ADD ./openjdk-11.0.10_9 /usr/lib/jvm/jdk11 +ADD ./openjdk-11.0.14.1_1 /usr/lib/jvm/jdk11 RUN chmod +x /etc/entrypoint.sh && \ # @@ -24,7 +25,7 @@ RUN chmod +x /etc/entrypoint.sh && \ # # install maven # - curl -O https://archive.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.zip && \ + curl -O https://archive.apache.org/dist/maven/maven-3/3.8.5/binaries/apache-maven-3.8.5-bin.zip && \ unzip apache-maven-*-bin.zip -d /usr/share && \ rm apache-maven-*-bin.zip && \ mv /usr/share/apache-maven-* /usr/share/maven && \ diff --git a/etc/docker/Makefile b/etc/docker/Makefile index b6d0ff32f188..2007bb50b167 100644 --- a/etc/docker/Makefile +++ b/etc/docker/Makefile @@ -1,5 +1,5 @@ SHELL := /bin/bash -IMAGE_TAG = tini-jdk-11.0.10 +IMAGE_TAG = tini-jdk-11.0.14.1 .PHONY: clean docker-clean docker-build docker-push