aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-api-docker/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-01-14 17:52:12 -0500
committerJim Hahn <jrh3@att.com>2020-01-14 17:52:12 -0500
commit6e50bcdfe9e75ac750310499c21e80bf8eaf276f (patch)
tree612ac69e608216f68fc7054d26cc82c741d28f20 /packages/policy-api-docker/src
parent3e87a45998d81b3f858bb170a7f1998d73cc6f79 (diff)
Update policy-api for java11 docker
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ifeb693b4849dfd07057d2139b9f5b58e2ce3f0e5
Diffstat (limited to 'packages/policy-api-docker/src')
-rw-r--r--packages/policy-api-docker/src/main/docker/Dockerfile2
-rw-r--r--packages/policy-api-docker/src/main/docker/policy-api.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/policy-api-docker/src/main/docker/Dockerfile b/packages/policy-api-docker/src/main/docker/Dockerfile
index c9e36d02..6c653e33 100644
--- a/packages/policy-api-docker/src/main/docker/Dockerfile
+++ b/packages/policy-api-docker/src/main/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM onap/policy-common-alpine:1.4.0
+FROM onap/policy-jre-alpine
LABEL maintainer="Policy Team"
diff --git a/packages/policy-api-docker/src/main/docker/policy-api.sh b/packages/policy-api-docker/src/main/docker/policy-api.sh
index dbd8cc03..4963391c 100644
--- a/packages/policy-api-docker/src/main/docker/policy-api.sh
+++ b/packages/policy-api-docker/src/main/docker/policy-api.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
# ============LICENSE_START=======================================================
-# Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
# Modifications Copyright (C) 2019-2020 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,7 +20,7 @@
# ============LICENSE_END=========================================================
#
-JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk/
+JAVA_HOME=/usr/lib/jvm/java-11-openjdk/
KEYSTORE="${POLICY_HOME}/etc/ssl/policy-keystore"
KEYSTORE_PASSWD="Pol1cy_0nap"
TRUSTSTORE="${POLICY_HOME}/etc/ssl/policy-truststore"