summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-01-21 19:17:15 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-21 19:17:15 +0000
commit3fcc3204c1c65a5e5f774088bca1fd81dedd9ddb (patch)
treeb1d2274b8b745ec90cdcc78c38b7ba6503f7472f /packages
parent40483cec64275e908c498309503cb17fbbd81c7a (diff)
parente37f5a70bcf3fd8073418c13416cc79c0ef47d59 (diff)
Merge "policy/engine jdk11 upgrades"
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/src/main/docker/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index 7ef47b423..580beccb6 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"
@@ -8,9 +8,9 @@ ARG POLICY_LOGS=/var/log/onap
ENV BUILD_VERSION_ENGINE ${BUILD_VERSION_ENGINE}
ENV POLICY_LOGS ${POLICY_LOGS}
-RUN apk add --no-cache mariadb-client
-
-RUN mkdir -p /tmp/policy-install ${POLICY_LOGS} && \
+RUN apt update && \
+ apt-get install -y mariadb-client && \
+ mkdir -p /tmp/policy-install ${POLICY_LOGS} && \
chown policy:policy /tmp/policy-install ${POLICY_LOGS} && \
rmdir ${POLICY_HOME}/etc/ssl && \
rmdir ${POLICY_HOME}/etc