Migrate java base image to amazoncorretto:17.0.17 78/15278/1
authoraravind.est <aravindhan.a@est.tech>
Mon, 17 Nov 2025 10:55:12 +0000 (10:55 +0000)
committeraravind.est <aravindhan.a@est.tech>
Mon, 17 Nov 2025 10:55:12 +0000 (10:55 +0000)
base image replaced with amazoncorretto:17.0.17

Issue-ID: NONRTRIC-1096
Change-Id: I44617a8cb768b2025a8d8f7992e42f2ead9a6294
Signed-off-by: aravind.est <aravindhan.a@est.tech>
participants/participant-impl-dme/Dockerfile

index dfa6f7e..c59ac57 100755 (executable)
@@ -18,7 +18,8 @@
 # SPDX-License-Identifier: Apache-2.0
 # ============LICENSE_END=========================================================
 #
-FROM nexus3.o-ran-sc.org:10001/eclipse-temurin: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 \
@@ -29,8 +30,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}"