diff options
author | Jim Hahn <jrh3@att.com> | 2020-01-16 16:32:58 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-01-16 16:32:58 -0500 |
commit | 0cc211b6f126abc45be1c42750a821df20b2d6ca (patch) | |
tree | 1b06a631aa25a87114438a8dff1149cbf2b31bef /packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile | |
parent | c824df003a06de35ba18611e238eb7a9ee14c7bb (diff) |
Use alpine image for xacml-pdp
Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I4ed9fa70dd95d061f0cd4c81822853b92387e2f6
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile')
-rw-r--r-- | packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile b/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile index 63a15138..ec26c83e 100644 --- a/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile +++ b/packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM onap/policy-jre-debian +FROM onap/policy-jre-alpine LABEL maintainer="Policy Team" @@ -7,8 +7,9 @@ ARG POLICY_LOGS=/var/log/onap/policy/pdpx ENV POLICY_LOGS=$POLICY_LOGS ENV POLICY_HOME=$POLICY_HOME/pdpx -RUN apt-get install -y mariadb-client -RUN mkdir -p $POLICY_HOME $POLICY_LOGS $POLICY_HOME/etc/ssl $POLICY_HOME/bin $POLICY_HOME/apps && \ +RUN apk update && \ + apk add mariadb-client && \ + mkdir -p $POLICY_HOME $POLICY_LOGS $POLICY_HOME/etc/ssl $POLICY_HOME/bin $POLICY_HOME/apps && \ chown -R policy:policy $POLICY_HOME $POLICY_LOGS && mkdir /packages COPY /maven/* /packages |