Fix dmaap-sim docker chmod 69/89169/2
authorJim Hahn <jrh3@att.com>
Mon, 3 Jun 2019 18:49:12 +0000 (14:49 -0400)
committerJim Hahn <jrh3@att.com>
Mon, 3 Jun 2019 19:08:46 +0000 (15:08 -0400)
The chmod in the docker builder for my local VM does not appear to
support the "+x" style options.  Modified the dmaap-simulator docker
file to use "755" instead.
Also fixed the PDP simulator.

Change-Id: I3dd906d2ef63303f8c8872ce38a5711d61e35c3e
Issue-ID: POLICY-1829
Signed-off-by: Jim Hahn <jrh3@att.com>
models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile

index fa11474..75f08a1 100644 (file)
@@ -1,6 +1,7 @@
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2019 Nordix Foundation.
+#  Modifications Copyright (C) 2019 AT&T Intellectual Property.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -66,7 +67,7 @@ RUN tar xvfz /packages/policy-models-sim-dmaap-tarball.tar.gz --directory ${POLI
 COPY dmaap-sim.sh ${POLICY_HOME}/dmaap-sim/bin
 RUN find /opt/app -type d -perm 755 \
     && find /opt/app -type f -perm 644 \
-    && chmod a+x ${POLICY_HOME}/dmaap-sim/bin/*
+    && chmod 755 ${POLICY_HOME}/dmaap-sim/bin/*
 
 USER policy
 ENV PATH ${POLICY_HOME}/dmaap-sim/bin:$PATH
index 93a3c9b..51e7eaa 100644 (file)
@@ -1,6 +1,7 @@
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2019 Nordix Foundation.
+#  Modifications Copyright (C) 2019 AT&T Intellectual Property.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -66,7 +67,7 @@ RUN tar xvfz /packages/policy-models-sim-pdp-tarball.tar.gz --directory ${POLICY
 COPY pdp-sim.sh ${POLICY_HOME}/pdp-sim/bin
 RUN find /opt/app -type d -perm 755 \
     && find /opt/app -type f -perm 644 \
-    && chmod a+x ${POLICY_HOME}/pdp-sim/bin/*
+    && chmod 755 ${POLICY_HOME}/pdp-sim/bin/*
 
 USER policy
 ENV PATH ${POLICY_HOME}/pdp-sim/bin:$PATH