From 5428b7472f38fc6af7dfed4bf7dc9f6104c70025 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Tue, 12 Sep 2017 16:50:06 +0800 Subject: Add +x permission to sh of ems-driver Change-Id: I08be3df8e61040cc066f4014070550c83596ace4 Issue-Id: VFC-340 Signed-off-by: fujinhua --- ems/microservice-standalone/src/main/assembly/docker/Dockerfile | 1 + ems/microservice-standalone/src/main/assembly/docker/instance_run.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ems/microservice-standalone/src/main/assembly/docker/Dockerfile b/ems/microservice-standalone/src/main/assembly/docker/Dockerfile index 8ffbfec..60e6321 100755 --- a/ems/microservice-standalone/src/main/assembly/docker/Dockerfile +++ b/ems/microservice-standalone/src/main/assembly/docker/Dockerfile @@ -28,4 +28,5 @@ RUN wget -q -O emsdiver-standalone.zip 'https://nexus.onap.org/service/local/art EXPOSE 8206 WORKDIR /service +RUN chmod +x emsdriver/docker/*.sh ENTRYPOINT emsdriver/docker/docker-entrypoint.sh diff --git a/ems/microservice-standalone/src/main/assembly/docker/instance_run.sh b/ems/microservice-standalone/src/main/assembly/docker/instance_run.sh index 6c458ae..f2b15fb 100755 --- a/ems/microservice-standalone/src/main/assembly/docker/instance_run.sh +++ b/ems/microservice-standalone/src/main/assembly/docker/instance_run.sh @@ -1,6 +1,6 @@ #!/bin/bash cd /service/ems/ -chmod +x run.sh +chmod +x *.sh ./run.sh while [ ! -f logs/emsdriver.log ]; do -- cgit 1.2.3-korg