diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2023-08-07 16:01:21 -0400 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2023-09-22 16:08:11 +0100 |
commit | 396f60280265a37379916ad12752a94691118f65 (patch) | |
tree | 4b6d54a1567482a89bc471577c6efe484f6dadd8 /packages/docker | |
parent | d6f6ebc925506cdf18b903df2cd3cbcef311082d (diff) |
Upgrade java-17 in drools-pdp
Issue-ID: POLICY-4676
Change-Id: I85a0f6303b30cd0405d63be003c9288f59a9d6b7
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'packages/docker')
-rw-r--r-- | packages/docker/pom.xml | 5 | ||||
-rw-r--r-- | packages/docker/src/main/docker/Dockerfile | 6 | ||||
-rw-r--r-- | packages/docker/src/main/docker/suse.Dockerfile | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index 7228de55..96ddcab3 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -20,14 +20,15 @@ ============LICENSE_END========================================================= --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.policy.drools-pdp</groupId> <artifactId>drools-packages</artifactId> - <version>2.0.0-SNAPSHOT</version> + <version>2.0.1-SNAPSHOT</version> </parent> <artifactId>docker</artifactId> diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile index 6b993830..ac13bf61 100644 --- a/packages/docker/src/main/docker/Dockerfile +++ b/packages/docker/src/main/docker/Dockerfile @@ -2,7 +2,7 @@ # Dockerfile # ============LICENSE_START======================================================= # Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. -# Modifications Copyright (C) 2022 Nordix Foundation. +# Modifications Copyright (C) 2022-2023 Nordix Foundation. # ================================================================================ # 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 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= #------------------------------------------------------------------------------- -FROM onap/policy-jdk-alpine:3.0.0-SNAPSHOT +FROM onap/policy-jdk-alpine:3.0.1-SNAPSHOT LABEL maintainer="Policy Team" LABEL org.opencontainers.image.title="Policy Drools PDP" @@ -39,7 +39,7 @@ ARG MVN_RELEASE_REPO_URL ARG http_proxy ENV BUILD_VERSION_DROOLS $BUILD_VERSION_DROOLS -ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk +ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk ENV POLICY_INSTALL $POLICY_INSTALL ENV POLICY_INSTALL_INIT $POLICY_INSTALL/config ENV POLICY_LOGS $POLICY_LOGS diff --git a/packages/docker/src/main/docker/suse.Dockerfile b/packages/docker/src/main/docker/suse.Dockerfile index a4331f20..e6bf9dbd 100644 --- a/packages/docker/src/main/docker/suse.Dockerfile +++ b/packages/docker/src/main/docker/suse.Dockerfile @@ -38,7 +38,7 @@ ARG MVN_RELEASE_REPO_URL ARG http_proxy ENV BUILD_VERSION_DROOLS $BUILD_VERSION_DROOLS -ENV JAVA_HOME /usr/lib64/jvm/java-11-openjdk +ENV JAVA_HOME /usr/lib64/jvm/java-17-openjdk ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 ENV POLICY_INSTALL $POLICY_INSTALL ENV POLICY_INSTALL_INIT $POLICY_INSTALL/config @@ -54,7 +54,7 @@ ENV http_proxy $http_proxy RUN zypper -n -q install --no-recommends \ curl \ gzip \ - java-11-openjdk-devel \ + java-17-openjdk-devel \ maven \ mariadb-client \ netcat-openbsd \ |