summaryrefslogtreecommitdiffstats
path: root/policy-db-migrator
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-db-migrator
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-db-migrator')
-rw-r--r--policy-db-migrator/pom.xml7
-rw-r--r--policy-db-migrator/src/main/docker/Dockerfile4
2 files changed, 3 insertions, 8 deletions
diff --git a/policy-db-migrator/pom.xml b/policy-db-migrator/pom.xml
index f1a1d955..686055ff 100644
--- a/policy-db-migrator/pom.xml
+++ b/policy-db-migrator/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.onap.policy.docker</groupId>
<artifactId>docker</artifactId>
- <version>3.0.0-SNAPSHOT</version>
+ <version>3.0.1-SNAPSHOT</version>
</parent>
<artifactId>policy-db-migrator</artifactId>
@@ -52,7 +52,6 @@
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
- <version>2.1.1</version>
<executions>
<execution>
<phase>validate</phase>
@@ -72,7 +71,6 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
-
<configuration>
<verbose>true</verbose>
<apiVersion>1.23</apiVersion>
@@ -122,9 +120,6 @@
<goal>build</goal>
<goal>push</goal>
</goals>
- <configuration>
- <image>${docker.dbm.imagename}</image>
- </configuration>
</execution>
</executions>
</plugin>
diff --git a/policy-db-migrator/src/main/docker/Dockerfile b/policy-db-migrator/src/main/docker/Dockerfile
index 49f624b6..97f7a657 100644
--- a/policy-db-migrator/src/main/docker/Dockerfile
+++ b/policy-db-migrator/src/main/docker/Dockerfile
@@ -18,7 +18,7 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
#-------------------------------------------------------------------------------
-FROM onap/policy-jre-alpine:3.0.0-SNAPSHOT
+FROM onap/policy-jre-alpine:3.0.1-SNAPSHOT
LABEL maintainer="Policy Team"
LABEL org.opencontainers.image.title="Policy db-migrator"
@@ -30,7 +30,7 @@ LABEL org.opencontainers.image.created="${git.build.time}"
LABEL org.opencontainers.image.version="${git.build.version}"
LABEL org.opencontainers.image.revision="${git.commit.id.abbrev}"
-ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
+ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk
ENV POLICY_ETC /opt/app/policy/etc
ENV POLICY_PROFILE /opt/app/policy/etc/profile.d
ENV POLICY_BIN /opt/app/policy/bin