diff options
author | yangyan <yangyanyj@chinamobile.com> | 2017-10-17 09:14:18 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2017-10-17 09:14:24 +0800 |
commit | b1800959422f1cc52f0fdea127d3c2f3856e31db (patch) | |
tree | dd29f9d93e93c7620b07cfa006c53eb07767d099 | |
parent | af9d9080fdfe3a38ae0d03d6f897fcb992f63db1 (diff) |
Update ems Dockerfile
Add +x for run.sh
Issue-ID: VFC-345
Change-Id: Id3a79d1228629d113c39377f0efedcb439b30a92
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-x | ems/microservice-standalone/src/main/assembly/docker/Dockerfile | 1 | ||||
-rwxr-xr-x | ems/microservice-standalone/src/main/assembly/run.sh | 2 |
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 e321cab..9669dd3 100755 --- a/ems/microservice-standalone/src/main/assembly/docker/Dockerfile +++ b/ems/microservice-standalone/src/main/assembly/docker/Dockerfile @@ -20,5 +20,6 @@ RUN wget -q -O emsdiver-standalone.zip 'https://nexus.onap.org/service/local/art EXPOSE 8206 WORKDIR /service +RUN chmod +x emsdriver/*.sh RUN chmod +x emsdriver/docker/*.sh ENTRYPOINT emsdriver/docker/docker-entrypoint.sh diff --git a/ems/microservice-standalone/src/main/assembly/run.sh b/ems/microservice-standalone/src/main/assembly/run.sh index 32678f6..b2d4448 100755 --- a/ems/microservice-standalone/src/main/assembly/run.sh +++ b/ems/microservice-standalone/src/main/assembly/run.sh @@ -90,5 +90,5 @@ echo @JAVA_OPTS@ $JAVA_OPTS class_path="$RUNHOME/:$RUNHOME/boco-driver.jar" echo @class_path@ $class_path - +# Start "$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.vfc.nfvo.emsdriver.EMSDriverApp server "$RUNHOME/conf/emsdriver.yml" |