Fix api docker chmod 73/89273/2
authorJim Hahn <jrh3@att.com>
Tue, 4 Jun 2019 18:41:34 +0000 (14:41 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 4 Jun 2019 18:42:52 +0000 (14:42 -0400)
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>
packages/policy-api-docker/src/main/docker/Dockerfile

index 282af9c..a30f7b3 100644 (file)
@@ -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