Fix apex docker chmod 77/89177/2
authorjrh3 <jrh3@att.com>
Tue, 4 Jun 2019 15:02:43 +0000 (11:02 -0400)
committerjrh3 <jrh3@att.com>
Tue, 4 Jun 2019 15:02:43 +0000 (11:02 -0400)
The chmod in the docker builder for my local VM does not appear to
support the "+x" style options. Modified the apex docker
file to use "755" instead.

Issue-ID: POLICY-1829
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I99faa8a31e92243bcc28207afba40b2b680ba1bf

packages/apex-pdp-docker/src/main/docker/Dockerfile

index 4801887..d8ad557 100644 (file)
@@ -35,7 +35,7 @@ RUN tar xvfz /packages/apex-pdp-package-full.tar.gz --directory ${POLICY_HOME} \
 # Ensure everything has the correct permissions
 RUN find /opt/app -type d -perm 755 \
     && find /opt/app -type f -perm 644 \
-    && chmod a+x ${POLICY_HOME}/bin/*
+    && chmod 755 ${POLICY_HOME}/bin/*
 
 # Copy examples to Apex user area
 RUN cp -pr ${POLICY_HOME}/examples /home/apexuser \