From c03ba650bf89d775d3950318310d8e0a6758fbe6 Mon Sep 17 00:00:00 2001 From: CrowleyRajapakse Date: Fri, 6 Oct 2023 10:36:30 +0530 Subject: [PATCH] upgrade ubuntu and JDK in CP dockerfiles --- admin/admin-domain-service/docker/Dockerfile | 12 ++++++------ .../backoffice-domain-service/docker/Dockerfile | 12 ++++++------ devportal/devportal-domain-service/docker/Dockerfile | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/admin/admin-domain-service/docker/Dockerfile b/admin/admin-domain-service/docker/Dockerfile index 8c6f53d95..c4d0848e6 100644 --- a/admin/admin-domain-service/docker/Dockerfile +++ b/admin/admin-domain-service/docker/Dockerfile @@ -18,7 +18,7 @@ # #--------------------------------------------------------------- -FROM ubuntu:20.04 +FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' @@ -29,18 +29,18 @@ RUN apt-get update \ && locale-gen en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* -ENV JAVA_VERSION jdk-11.0.17+8 +ENV JAVA_VERSION jdk-17.0.8.1+1 RUN set -eux; \ ARCH="$(dpkg --print-architecture)"; \ case "${ARCH}" in \ amd64|i386:x86-64) \ - ESUM='752616097e09d7f60a3ad8bd312f90eaf50ac72577e55df229fe6e8091148f79'; \ - BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jre_x64_linux_hotspot_11.0.17_8.tar.gz'; \ + ESUM='ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e'; \ + BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz'; \ ;; \ aarch64|arm64) \ - ESUM='bd6efe3290c8b5a42f695a55a26f3e3c9c284288574879d4b7089f31f5114177'; \ - BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.17_8.tar.gz'; \ + ESUM='0a1c5c9ee9d20832c87bd1e99a4c4a96947b59bb35c72683fe895d705f202737'; \ + BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.8.1_1.tar.gz'; \ ;; \ *) \ echo "Unsupported arch: ${ARCH}"; \ diff --git a/backoffice/backoffice-domain-service/docker/Dockerfile b/backoffice/backoffice-domain-service/docker/Dockerfile index c2daaeae3..b4f5a01b9 100644 --- a/backoffice/backoffice-domain-service/docker/Dockerfile +++ b/backoffice/backoffice-domain-service/docker/Dockerfile @@ -18,7 +18,7 @@ # #--------------------------------------------------------------- -FROM ubuntu:20.04 +FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' @@ -29,18 +29,18 @@ RUN apt-get update \ && locale-gen en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* -ENV JAVA_VERSION jdk-11.0.17+8 +ENV JAVA_VERSION jdk-17.0.8.1+1 RUN set -eux; \ ARCH="$(dpkg --print-architecture)"; \ case "${ARCH}" in \ amd64|i386:x86-64) \ - ESUM='752616097e09d7f60a3ad8bd312f90eaf50ac72577e55df229fe6e8091148f79'; \ - BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jre_x64_linux_hotspot_11.0.17_8.tar.gz'; \ + ESUM='ab68857594792474a3049ede09ea1178e42df29803a6a41be771794f571b2d4e'; \ + BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_x64_linux_hotspot_17.0.8.1_1.tar.gz'; \ ;; \ aarch64|arm64) \ - ESUM='bd6efe3290c8b5a42f695a55a26f3e3c9c284288574879d4b7089f31f5114177'; \ - BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.17%2B8/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.17_8.tar.gz'; \ + ESUM='0a1c5c9ee9d20832c87bd1e99a4c4a96947b59bb35c72683fe895d705f202737'; \ + BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jre_aarch64_linux_hotspot_17.0.8.1_1.tar.gz'; \ ;; \ *) \ echo "Unsupported arch: ${ARCH}"; \ diff --git a/devportal/devportal-domain-service/docker/Dockerfile b/devportal/devportal-domain-service/docker/Dockerfile index 37e6ce38c..635f37e3d 100644 --- a/devportal/devportal-domain-service/docker/Dockerfile +++ b/devportal/devportal-domain-service/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM ubuntu:22.04 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'