summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-12 16:50:06 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-12 16:50:06 +0800
commit5428b7472f38fc6af7dfed4bf7dc9f6104c70025 (patch)
treeb47b95fca619897a849da2936d24f821004dc01f
parenta6b0f0dcae712afed356fa67e5b64829db854749 (diff)
Add +x permission to sh of ems-driver
Change-Id: I08be3df8e61040cc066f4014070550c83596ace4 Issue-Id: VFC-340 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-xems/microservice-standalone/src/main/assembly/docker/Dockerfile1
-rwxr-xr-xems/microservice-standalone/src/main/assembly/docker/instance_run.sh2
2 files changed, 2 insertions, 1 deletions
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