summaryrefslogtreecommitdiffstats
path: root/packages/policy-api-docker/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-06-04 14:41:34 -0400
committerJim Hahn <jrh3@att.com>2019-06-04 14:42:52 -0400
commitf9ddf668fd363e66e9514385fa6cc071d7f85d42 (patch)
tree771ee6727653637d16cd3e471460a8f3d1d243bc /packages/policy-api-docker/src
parent9bcc74f6a5d69833a848d771811064e65c62098e (diff)
Fix api docker chmod
The chmod in the docker builder for my local VM does not appear to support the "+x" style options. Modified the api docker file to use "755" instead. Change-Id: Idf376d0d4e2a44ee5a605b473b0307d8770b4ced Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'packages/policy-api-docker/src')
-rw-r--r--packages/policy-api-docker/src/main/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/policy-api-docker/src/main/docker/Dockerfile b/packages/policy-api-docker/src/main/docker/Dockerfile
index 282af9c9..a30f7b39 100644
--- a/packages/policy-api-docker/src/main/docker/Dockerfile
+++ b/packages/policy-api-docker/src/main/docker/Dockerfile
@@ -17,7 +17,7 @@ RUN tar xvfz /packages/policy-api.tar.gz --directory ${POLICY_API_HOME} && \
WORKDIR ${POLICY_API_HOME}
COPY policy-api.sh bin/.
-RUN chown -R policy:policy * && chmod +x bin/*.sh && \
+RUN chown -R policy:policy * && chmod 755 bin/*.sh && \
cp ${POLICY_API_HOME}/etc/ssl/* ${POLICY_HOME}/etc/ssl && chown policy:policy ${POLICY_HOME}/etc/ssl/*
USER policy