summaryrefslogtreecommitdiffstats
path: root/packages/policy-distribution-docker/src/main
diff options
context:
space:
mode:
authorHOCKLA <ah999m@att.com>2020-01-20 16:37:27 -0600
committerHOCKLA <ah999m@att.com>2020-01-22 08:46:55 -0600
commitb830606fbb6d76757f4b3c66e612a7f0f4dee331 (patch)
tree7a790c99912e857d0f1f618122dca5e65eade0dd /packages/policy-distribution-docker/src/main
parent8c9a29a362e29db4ba81107b1c75c0aba467b7ae (diff)
policy/distribution jdk11 upgrades
Issue-ID: POLICY-1585 Change-Id: I4aa879656c039d9de9c288f0309105c21f4bf285 Signed-off-by: HOCKLA <ah999m@att.com>
Diffstat (limited to 'packages/policy-distribution-docker/src/main')
-rw-r--r--packages/policy-distribution-docker/src/main/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/policy-distribution-docker/src/main/docker/Dockerfile b/packages/policy-distribution-docker/src/main/docker/Dockerfile
index 54d268ce..f5571c44 100644
--- a/packages/policy-distribution-docker/src/main/docker/Dockerfile
+++ b/packages/policy-distribution-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"
@@ -8,9 +8,9 @@ ENV POLICY_LOGS=$POLICY_LOGS
ENV POLICY_HOME=$POLICY_HOME/distribution
RUN mkdir -p $POLICY_HOME $POLICY_LOGS $POLICY_HOME/bin && \
- chown -R policy:policy $POLICY_HOME $POLICY_LOGS
+ chown -R policy:policy $POLICY_HOME $POLICY_LOGS &&\
+ mkdir /packages
-RUN mkdir /packages
COPY /maven/* /packages
RUN tar xvfz /packages/policy-distribution.tar.gz --directory $POLICY_HOME \
&& rm /packages/policy-distribution.tar.gz