From: aravind.est Date: Mon, 17 Nov 2025 12:10:04 +0000 (+0000) Subject: Migrate java base image to amazoncorretto:17.0.17 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=9227354e6d2c468d3c5055b8249fc03101633920;p=nonrtric%2Fplt%2Franpm.git Migrate java base image to amazoncorretto:17.0.17 base image replaced with amazoncorretto:17.0.17 Issue-ID: NONRTRIC-1096 Change-Id: If68f4822a3524e1d2ff6818348d99bbbb0cf06c5 Signed-off-by: aravind.est --- diff --git a/datafilecollector/Dockerfile b/datafilecollector/Dockerfile index 6d7beda..08c3c85 100755 --- a/datafilecollector/Dockerfile +++ b/datafilecollector/Dockerfile @@ -3,6 +3,7 @@ # Copyright (C) 2023 Nordix Foundation. # Copyright (C) 2020 Nokia. # Copyright (C) 2021 Samsung Electronics. +# 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. @@ -19,7 +20,8 @@ # SPDX-License-Identifier: Apache-2.0 # ============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 \ @@ -30,8 +32,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}" diff --git a/influxlogger/Dockerfile b/influxlogger/Dockerfile index fea4ba5..c2ad5ea 100644 --- a/influxlogger/Dockerfile +++ b/influxlogger/Dockerfile @@ -3,6 +3,7 @@ # O-RAN-SC # ================================================================================ # Copyright (C) 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}" diff --git a/pmproducer/Dockerfile b/pmproducer/Dockerfile index 5b621af..229de90 100644 --- a/pmproducer/Dockerfile +++ b/pmproducer/Dockerfile @@ -3,6 +3,7 @@ # O-RAN-SC # ================================================================================ # Copyright (C) 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}"