base image replaced with amazoncorretto:17.0.17
Issue-ID: NONRTRIC-1096
Change-Id: I44617a8cb768b2025a8d8f7992e42f2ead9a6294
Signed-off-by: aravind.est <aravindhan.a@est.tech>
# 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 \
--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}"