From 4818494681481356c04cf97085d772dd56c1c162 Mon Sep 17 00:00:00 2001 From: Murali Date: Thu, 17 Aug 2017 05:30:37 +0000 Subject: Set permissions for docker files Change-Id: Ic5a4162824c03688878d4288c979f0d7734e44c7 JIRA: VNFSDK-53 Signed-off-by: Murali --- vnfmarket-be/deployment/docker/src/main/docker/Dockerfile | 8 +++++--- .../deployment/docker/src/main/docker/docker-entrypoint.sh | 0 vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh | 0 vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh | 0 vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh | 0 vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh | 0 .../deployment/docker/src/main/docker/instance-workaround.sh | 0 7 files changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh mode change 100644 => 100755 vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh mode change 100644 => 100755 vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh mode change 100644 => 100755 vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh mode change 100644 => 100755 vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh mode change 100644 => 100755 vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh (limited to 'vnfmarket-be') diff --git a/vnfmarket-be/deployment/docker/src/main/docker/Dockerfile b/vnfmarket-be/deployment/docker/src/main/docker/Dockerfile index 957c87a8..22ced94a 100644 --- a/vnfmarket-be/deployment/docker/src/main/docker/Dockerfile +++ b/vnfmarket-be/deployment/docker/src/main/docker/Dockerfile @@ -40,9 +40,6 @@ ADD ./STAGE /service # https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vnfsdk.refrepo.marketplace&a=vnf-sdk-marketplace-deployment&e=zip&c=&v=LATEST # RUN wget -q -O vnf-sdk-marketplace-1.0.0-SNAPSHOT.zip "https://nexus.onap.org/service/local/repositories/snapshots/content/org/onap/vnfsdk/refrepo/vnf-sdk-marketplace-deployment/1.0.0-SNAPSHOT/vnf-sdk-marketplace-deployment-1.0.0-20170515.020618-24.zip" && unzip -q -o -B vnf-sdk-marketplace-1.0.0-SNAPSHOT.zip && rm -f vnf-sdk-marketplace-1.0.0-SNAPSHOT.zip -# Set permissions -RUN find . -type d -exec chmod o-w {} \; -RUN find . -name "*.sh" -exec chmod +x {} \; EXPOSE 8702 # RUN echo ONAP vnf-sdk-marketplace 1.0.0-SNAPSHOT "https://nexus.onap.org/service/local/repositories/snapshots/content/org/openo/vnfsdk/refrepo/vnf-sdk-marketplace-deployment/1.0.0-SNAPSHOT/vnf-sdk-marketplace-deployment-1.0.0-20170515.020618-24.zip" > ONAP_VERSION @@ -56,6 +53,11 @@ COPY instance-init.sh . COPY instance-run.sh . COPY instance-workaround.sh . COPY docker-entrypoint.sh . + +# Set permissions +RUN find . -type d -exec chmod o-w {} \; +RUN find . -name "*.sh" -exec chmod +x {} \; + ENTRYPOINT /service/docker-entrypoint.sh COPY LICENSE ./ONAP_LICENSE diff --git a/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh b/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh old mode 100644 new mode 100755 diff --git a/vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh b/vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh old mode 100644 new mode 100755 diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh old mode 100644 new mode 100755 diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh old mode 100644 new mode 100755 diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh old mode 100644 new mode 100755 diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh old mode 100644 new mode 100755 -- cgit 1.2.3-korg