Fix xacml docker chmod 71/89371/2
authorJim Hahn <jrh3@att.com>
Wed, 5 Jun 2019 13:06:36 +0000 (09:06 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 5 Jun 2019 13:21:57 +0000 (09:21 -0400)
The chmod in the docker builder for my local VM does not appear to
support the "+x" style options. Modified the xacml docker
file to use "755" instead.

Change-Id: I6cba12e62d84f626e03b3aee33d50d71faa602c4
Issue-ID: POLICY-1829
Signed-off-by: Jim Hahn <jrh3@att.com>
packages/policy-xacmlpdp-docker/src/main/docker/Dockerfile

index 21e311e..ea3b97f 100644 (file)
@@ -18,7 +18,7 @@ RUN tar xvfz /packages/policy-xacmlpdp.tar.gz --directory ${POLICY_HOME} && \
 
 WORKDIR ${POLICY_HOME}
 COPY policy-pdpx.sh  bin/.
-RUN chown -R policy:policy * && chmod +x bin/*.sh
+RUN chown -R policy:policy * && chmod 755 bin/*.sh
 
 USER policy
 WORKDIR ${POLICY_HOME}/bin