Migrate java base image to amazoncorretto:17.0.17 83/15283/2
authoraravind.est <aravindhan.a@est.tech>
Mon, 17 Nov 2025 12:42:23 +0000 (12:42 +0000)
committeraravind.est <aravindhan.a@est.tech>
Mon, 17 Nov 2025 13:28:50 +0000 (13:28 +0000)
base image replaced with amazoncorretto:17.0.17

Issue-ID: NONRTRIC-1096
Change-Id: Ib037d12c0c87d406ab1d0a82d98cd22931065c0e
Signed-off-by: aravind.est <aravindhan.a@est.tech>
sample-services/hello-world-sme-invoker/Dockerfile
sample-services/hello-world/Dockerfile
sample-services/ics-producer-consumer/consumer/Dockerfile
sample-services/ics-producer-consumer/producer/Dockerfile
sample-services/ics-simple-producer-consumer/kafka-consumer/Dockerfile
sample-services/ics-simple-producer-consumer/kafka-consumer/DockerfileSimple
sample-services/ics-simple-producer-consumer/kafka-producer/Dockerfile
sample-services/ics-simple-producer-consumer/kafka-producer/DockerfileSimple

index 05b4db2..e02d0e7 100644 (file)
@@ -1,5 +1,5 @@
 #==================================================================================
-#   Copyright (C) 2024: OpenInfra Foundation Europe
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 
 
 # Use Maven image with OpenJDK 17 for the build stage
-FROM maven:3.8.5-openjdk-17 AS maven_build
+FROM nexus3.o-ran-sc.org:10001/maven:3.8.5-openjdk-17 AS maven_build
 
 # Copy Maven project files
 COPY pom.xml /tmp/
@@ -30,7 +30,7 @@ WORKDIR /tmp/
 RUN mvn package
 
 # Use a separate image with OpenJDK 17 for the runtime stage
-FROM openjdk:17-jdk-slim
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17
 
 # Expose port 8080
 EXPOSE 8080
index fb942d8..981ac03 100644 (file)
@@ -1,5 +1,5 @@
 #==================================================================================
-#   Copyright (C) 2023: OpenInfra Foundation Europe
+#   Copyright (C) 2023-2025: OpenInfra Foundation Europe
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
 
 
 # Use Maven image with OpenJDK 17 for the build stage
-FROM maven:3.8.5-openjdk-17 AS maven_build
+FROM nexus3.o-ran-sc.org:10001/maven:3.8.5-openjdk-17 AS maven_build
 
 # Copy Maven project files
 COPY pom.xml /tmp/
@@ -32,7 +32,7 @@ WORKDIR /tmp/
 RUN mvn package
 
 # Use a separate image with OpenJDK 17 for the runtime stage
-FROM openjdk:17-jdk-slim
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17
 
 # Expose port 8080
 EXPOSE 8080
index d5d6f2a..e870ce0 100644 (file)
@@ -1,5 +1,5 @@
 #==================================================================================
-#   Copyright (C) 2024: OpenInfra Foundation Europe
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
 #==================================================================================
 
 # Use Maven image with OpenJDK 17 for the build stage
-FROM maven:3.8.5-openjdk-17 AS maven_build
+FROM nexus3.o-ran-sc.org:10001/maven:3.8.5-openjdk-17 AS maven_build
 
 # Copy Maven project files
 COPY pom.xml /tmp/
@@ -31,7 +31,7 @@ WORKDIR /tmp/
 RUN mvn package
 
 # Use a separate image with OpenJDK 17 for the runtime stage
-FROM openjdk:17-jdk-slim
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17
 
 # Expose port 8081
 EXPOSE 8081
index 148872a..2f7717a 100644 (file)
@@ -1,5 +1,5 @@
 #==================================================================================
-#   Copyright (C) 2024: OpenInfra Foundation Europe
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
 #==================================================================================
 
 # Use Maven image with OpenJDK 17 for the build stage
-FROM maven:3.8.5-openjdk-17 AS maven_build
+FROM nexus3.o-ran-sc.org:10001/maven:3.8.5-openjdk-17 AS maven_build
 
 # Copy Maven project files
 COPY pom.xml /tmp/
@@ -31,7 +31,7 @@ WORKDIR /tmp/
 RUN mvn package
 
 # Use a separate image with OpenJDK 17 for the runtime stage
-FROM openjdk:17-jdk-slim
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17
 
 # Expose port 8080
 EXPOSE 8080
index 023448e..6a87b05 100644 (file)
@@ -1,6 +1,6 @@
 \r
 #==================================================================================\r
-#   Copyright (C) 2024: OpenInfra Foundation Europe\r
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe\r
 #\r
 #   Licensed under the Apache License, Version 2.0 (the "License");\r
 #   you may not use this file except in compliance with the License.\r
@@ -18,7 +18,7 @@
 #   platform project (RICP).\r
 #==================================================================================\r
 # Use Maven image with OpenJDK 17 for the build stage\r
-FROM maven:3.8.5-openjdk-17 AS maven_build\r
+FROM nexus3.o-ran-sc.org:10001/maven:3.8.5-openjdk-17 AS maven_build\r
 # Copy Maven project files\r
 COPY pom.xml /tmp/\r
 COPY src /tmp/src/\r
@@ -27,7 +27,7 @@ WORKDIR /tmp/
 # Build the Maven project\r
 RUN mvn package\r
 # Use a separate image with OpenJDK 17 for the runtime stage\r
-FROM openjdk:17-jdk-slim\r
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17\r
 # Expose port 9090\r
 EXPOSE 9090\r
 ARG SPRING_KAFKA_SERVER\r
index 6978283..35bc820 100644 (file)
@@ -1,5 +1,5 @@
 #==================================================================================
-#   Copyright (C) 2024: OpenInfra Foundation Europe
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 #   This source code is part of the near-RT RIC (RAN Intelligent Controller)
 #   platform project (RICP).
 #==================================================================================
-FROM openjdk:17-jdk-slim
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17
 
 EXPOSE 9090
 
index 7b9e2d8..b282b4a 100644 (file)
@@ -1,6 +1,6 @@
 \r
 #==================================================================================\r
-#   Copyright (C) 2024: OpenInfra Foundation Europe\r
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe\r
 #\r
 #   Licensed under the Apache License, Version 2.0 (the "License");\r
 #   you may not use this file except in compliance with the License.\r
@@ -18,7 +18,7 @@
 #   platform project (RICP).\r
 #==================================================================================\r
 # Use Maven image with OpenJDK 17 for the build stage\r
-FROM maven:3.8.5-openjdk-17 AS maven_build\r
+FROM nexus3.o-ran-sc.org:10001/maven:3.8.5-openjdk-17 AS maven_build\r
 # Copy Maven project files\r
 COPY pom.xml /tmp/\r
 COPY src /tmp/src/\r
@@ -27,7 +27,7 @@ WORKDIR /tmp/
 # Build the Maven project\r
 RUN mvn package\r
 # Use a separate image with OpenJDK 17 for the runtime stage\r
-FROM openjdk:17-jdk-slim\r
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17\r
 # Expose port 8080\r
 EXPOSE 8080\r
 ARG SPRING_KAFKA_SERVER\r
index 3bbff49..2a11060 100644 (file)
@@ -1,5 +1,5 @@
 #==================================================================================
-#   Copyright (C) 2024: OpenInfra Foundation Europe
+#   Copyright (C) 2024-2025: OpenInfra Foundation Europe
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 #   This source code is part of the near-RT RIC (RAN Intelligent Controller)
 #   platform project (RICP).
 #==================================================================================
-FROM openjdk:17-jdk-slim
+FROM nexus3.o-ran-sc.org:10001/amazoncorretto:17.0.17
 
 EXPOSE 8080