aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Lund <lund@research.att.com>2017-02-22 10:37:54 +0000
committerCarsten Lund <lund@research.att.com>2017-02-22 10:38:18 +0000
commit7b63771e062de07b3d3a82dc008281032bdd3c6e (patch)
treef26a9a52a95d2cf2a07c4d9e249830ff80c377d8
parenta507c8817143ca18891578d17ad3860854b0a165 (diff)
Fixed single quote to double quote in DockerFile
Change-Id: I30c63a7a1cc46d3c29547f0ddb1d6a59e8f47630 Signed-off-by: Carsten Lund <lund@research.att.com>
-rwxr-xr-xdocker-build.sh7
1 files changed, 6 insertions, 1 deletions
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
#