summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile3
-rw-r--r--models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile3
2 files changed, 4 insertions, 2 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
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