summaryrefslogtreecommitdiffstats
path: root/policy-jdk/alpine/src
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2023-07-18 12:04:20 +0100
committeradheli.tavares <adheli.tavares@est.tech>2023-09-20 15:33:19 +0100
commit43a40e17bdb36015d1f54835ec794c43ed41ba0a (patch)
tree9a14d21df8ac3a9551f0330dbffd8ece114a90a2 /policy-jdk/alpine/src
parent083ccca69980aba494ee368a159bf4933d54a245 (diff)
Java 17 Upgrade
- change of snapshot versions - csit fixes - apk update for openjdk security updates Issue-ID: POLICY-4667 Change-Id: I0f1044b88db9573886e5c5a14ebabb098128b2f2 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'policy-jdk/alpine/src')
-rw-r--r--policy-jdk/alpine/src/main/docker/Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/policy-jdk/alpine/src/main/docker/Dockerfile b/policy-jdk/alpine/src/main/docker/Dockerfile
index ab856bf4..b0a73a9e 100644
--- a/policy-jdk/alpine/src/main/docker/Dockerfile
+++ b/policy-jdk/alpine/src/main/docker/Dockerfile
@@ -18,11 +18,11 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-FROM alpine:3.17
+FROM alpine:3.18.2
LABEL maintainer="Policy Team"
LABEL org.opencontainers.image.title="Policy JRE Alpine"
-LABEL org.opencontainers.image.description="Policy Java 11 JRE image based on Alpine"
+LABEL org.opencontainers.image.description="Policy Java 17 JRE image based on Alpine"
LABEL org.opencontainers.image.url="https://github.com/onap/policy-docker"
LABEL org.opencontainers.image.vendor="ONAP Policy Team"
LABEL org.opencontainers.image.licenses="Apache-2.0"
@@ -44,11 +44,12 @@ ARG group=onap
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
# Generic additions
-RUN apk add --no-cache \
+RUN apk update && \
+ apk add --no-cache \
libretls \
musl-locales \
musl-locales-lang \
- openjdk11-jdk \
+ openjdk17-jdk \
openssl \
ca-certificates && \
rm -rf /var/cache/apk/* && \