diff options
author | Murali <murali.p@huawei.com> | 2017-08-17 05:30:37 +0000 |
---|---|---|
committer | Murali <murali.p@huawei.com> | 2017-08-17 05:30:37 +0000 |
commit | 4818494681481356c04cf97085d772dd56c1c162 (patch) | |
tree | d67ab859dcfc95dffda64ccc7b536acba84c5d8c /vnfmarket-be/deployment/docker | |
parent | 5a318f0e5e8a1b13cd07fc2b61c7bbcb0953419a (diff) |
Set permissions for docker files
Change-Id: Ic5a4162824c03688878d4288c979f0d7734e44c7
JIRA: VNFSDK-53
Signed-off-by: Murali <murali.p@huawei.com>
Diffstat (limited to 'vnfmarket-be/deployment/docker')
-rw-r--r-- | vnfmarket-be/deployment/docker/src/main/docker/Dockerfile | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh | 0 |
7 files changed, 5 insertions, 3 deletions
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 index a4527bb6..a4527bb6 100644..100755 --- a/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh +++ b/vnfmarket-be/deployment/docker/src/main/docker/docker-entrypoint.sh diff --git a/vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh b/vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh index 4b925cc0..4b925cc0 100644..100755 --- a/vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh +++ b/vnfmarket-be/deployment/docker/src/main/docker/init-mysql.sh diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh index 7a5327ac..7a5327ac 100644..100755 --- a/vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh +++ b/vnfmarket-be/deployment/docker/src/main/docker/instance-config.sh diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh index a7d5bb3d..a7d5bb3d 100644..100755 --- a/vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh +++ b/vnfmarket-be/deployment/docker/src/main/docker/instance-init.sh diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh index e2b0544b..e2b0544b 100644..100755 --- a/vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh +++ b/vnfmarket-be/deployment/docker/src/main/docker/instance-run.sh diff --git a/vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh b/vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh index 40058f56..40058f56 100644..100755 --- a/vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh +++ b/vnfmarket-be/deployment/docker/src/main/docker/instance-workaround.sh |