aboutsummaryrefslogtreecommitdiffstats
path: root/models-sim/policy-models-sim-pdp/src/main/package/docker
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/policy-models-sim-pdp/src/main/package/docker
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/policy-models-sim-pdp/src/main/package/docker')
-rw-r--r--models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
index 93a3c9b63..51e7eaa6f 100644
--- a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
+++ b/models-sim/policy-models-sim-pdp/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-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