Upgrade OS and Java versions in CI image

This commit also switches to Bellsoft Java builds.
This commit is contained in:
Brian Clozel
2022-06-13 20:59:17 +02:00
parent 0f06183ca3
commit e4e9987e3c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:focal-20220415
FROM ubuntu:focal-20220531
ADD setup.sh /setup.sh
ADD get-jdk-url.sh /get-jdk-url.sh

View File

@@ -3,13 +3,13 @@ set -e
case "$1" in
java8)
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u332-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u332b09.tar.gz"
echo "https://github.com/bell-sw/Liberica/releases/download/8u333%2B2/bellsoft-jre8u333+2-linux-amd64.tar.gz"
;;
java11)
echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.15_10.tar.gz"
echo "https://github.com/bell-sw/Liberica/releases/download/11.0.15.1+2/bellsoft-jdk11.0.15.1+2-linux-amd64.tar.gz"
;;
java17)
echo "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.3%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.3_7.tar.gz"
echo "https://github.com/bell-sw/Liberica/releases/download/17.0.3.1+2/bellsoft-jdk17.0.3.1+2-linux-amd64.tar.gz"
;;
*)
echo $"Unknown java version"