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

Issue-ID: NONRTRIC-1096
Change-Id: Idadc8b35ae4bd2e66797c285a60dcae778019114
Signed-off-by: aravind.est <aravindhan.a@est.tech>
rapp-manager-application/Dockerfile

index 6b717cb..062020d 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}"
@@ -57,7 +58,3 @@ RUN chown -R $user:$group /opt/app/rappmanager
 USER ${user}
 
 CMD ["/jre/bin/java", "-jar", "/opt/app/rappmanager/rappmanager.jar"]
-
-
-
-