aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-api-docker/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorDmitry Puzikov <dmitry.puzikov@tieto.com>2019-04-01 14:39:15 +0200
committerDmitry Puzikov <dmitry.puzikov@tieto.com>2019-04-24 10:07:38 +0200
commit91d017c10ca6e3314aa50c1d6c95bd2d93069d89 (patch)
tree0b2eec54697150b0c5380ac5c368d9f9477a803f /packages/policy-api-docker/src/main/docker/Dockerfile
parenta0745a7abc6583691f2dc9c8282253d2af92d57a (diff)
Add exact version of parent image
Change-Id: I70b6f703e7eaf63c348df75e15b93a42834b2b3e Issue-ID: INT-998 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
Diffstat (limited to 'packages/policy-api-docker/src/main/docker/Dockerfile')
-rw-r--r--packages/policy-api-docker/src/main/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/policy-api-docker/src/main/docker/Dockerfile b/packages/policy-api-docker/src/main/docker/Dockerfile
index 5633ecc1..282af9c9 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
+FROM onap/policy-common-alpine:1.4.0
LABEL maintainer="Policy Team"
@@ -8,7 +8,7 @@ ENV POLICY_LOGS ${POLICY_LOGS}
ENV POLICY_API_HOME=${POLICY_HOME}/api
RUN mkdir -p ${POLICY_LOGS} ${POLICY_API_HOME} ${POLICY_API_HOME}/bin && \
- chown -R policy:policy ${POLICY_API_HOME}
+ chown -R policy:policy ${POLICY_API_HOME} ${POLICY_LOGS}
RUN mkdir /packages
COPY /maven/* /packages