summaryrefslogtreecommitdiffstats
path: root/models-sim/models-sim-dmaap/src/main/package
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-06-03 14:49:12 -0400
committerJim Hahn <jrh3@att.com>2019-06-03 15:08:46 -0400
commit8676a38be6877235fe857a5f0bc289b2e036d4bb (patch)
tree7a9c1eda1713746b8e5ef189899d588c88d2c841 /models-sim/models-sim-dmaap/src/main/package
parent814101d7680da5b52b06461c1d9a132e32a6e3d5 (diff)
Fix dmaap-sim docker chmod
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>
Diffstat (limited to 'models-sim/models-sim-dmaap/src/main/package')
-rw-r--r--models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile b/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
index fa114747d..75f08a1f9 100644
--- a/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
+++ b/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
@@ -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