From 7b63771e062de07b3d3a82dc008281032bdd3c6e Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Wed, 22 Feb 2017 10:37:54 +0000 Subject: Fixed single quote to double quote in DockerFile Change-Id: I30c63a7a1cc46d3c29547f0ddb1d6a59e8f47630 Signed-off-by: Carsten Lund --- docker-build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-build.sh b/docker-build.sh index c1b7f9f..c0e60a8 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -65,6 +65,11 @@ cd \$WORKDIR echo 10.0.4.102 \$(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts +if [ ! -e config ]; then + echo no configuration directory setup: \$WORKDIR/config + exit 1 +fi + exec java -cp ./config:./lib:./lib/*:./bin \$MAIN \$ACTION > logs/manager.out 2>logs/manager.err EOF @@ -97,7 +102,7 @@ COPY opt /opt EXPOSE 9999 -CMD [ '/opt/app/manager/start-manager.sh' ] +CMD [ "/opt/app/manager/start-manager.sh" ] EOF # -- cgit 1.2.3-korg