Update drools-pdp for java11 docker
Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I8a69268bf240e267a0a693992112707a4d503b73
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index d2fbf47..935ea64 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM onap/policy-common-alpine:1.4.0
+FROM onap/policy-jdk-debian
LABEL maintainer="Policy Team"
@@ -14,12 +14,10 @@
ENV POLICY_LOGBACK $POLICY_CONFIG/logback.xml
ENV POLICY_DOCKER true
-RUN apk add --no-cache \
+RUN apt-get install -y \
mariadb-client \
file \
bash-completion \
- openssl \
- less \
vim \
&& pip install http-prompt
diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf
index 28591d4..6d80fb5 100644
--- a/packages/install/src/files/base.conf
+++ b/packages/install/src/files/base.conf
@@ -26,7 +26,7 @@
POLICY_HOME=/opt/app/policy
POLICY_LOGS=/opt/app/policy/logs
-JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+JAVA_HOME=/usr/lib/jvm/java-11-openjdk
KEYSTORE_PASSWD=Pol1cy_0nap
TRUSTSTORE_PASSWD=Pol1cy_0nap