From e4f150307580d30f03e74bb23d02adf3dbfb5d67 Mon Sep 17 00:00:00 2001 From: "aravind.est" Date: Mon, 17 Nov 2025 11:12:58 +0000 Subject: [PATCH] Migrate java base image to amazoncorretto:17.0.17 base image replaced with amazoncorretto:17.0.17 Issue-ID: NONRTRIC-1096 Change-Id: Ie843b5db342bd7161b861b9fa68998a4471f587b Signed-off-by: aravind.est --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb2abe9..f2105f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ # O-RAN-SC # ================================================================================ # Copyright (C) 2021-2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,7 +21,8 @@ # ============LICENSE_END========================================================= -FROM openjdk:17-jdk as jre-build +FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17 AS jre-build +RUN yum install -y binutils RUN $JAVA_HOME/bin/jlink \ --verbose \ @@ -31,8 +33,8 @@ RUN $JAVA_HOME/bin/jlink \ --compress=2 \ --output /customjre -# Use debian base image (same as openjdk uses) -FROM debian:11-slim +# Use debian base image +FROM nexus3.o-ran-sc.org:10001/debian:11-slim ENV JAVA_HOME=/jre ENV PATH="${JAVA_HOME}/bin:${PATH}" -- 2.16.6