From 8676a38be6877235fe857a5f0bc289b2e036d4bb Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Mon, 3 Jun 2019 14:49:12 -0400 Subject: 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 --- models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'models-sim/policy-models-sim-pdp') 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 -- cgit 1.2.3-korg