aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-05-06 07:34:18 -0400
committerDan Timoney <dtimoney@att.com>2020-05-06 07:44:34 -0400
commit55137e757b33b76d045df2b4b56269395619e3a0 (patch)
treec0eb1d5187f120b04e4198c9cad45cd3ed8ccc57
parent776e2a122cd04a8c1348b97d859ee999da219444 (diff)
Use bash instead of Bourne shell
Start script for naming service needs to be started with bash in order for redirect to work properly. Change-Id: I133b6fb2ba1ad4cf44a82c2d14e73d61946f0cae Issue-ID: CCSDK-2360 Signed-off-by: Dan Timoney <dtimoney@att.com>
-rw-r--r--ms/neng/src/main/docker/Dockerfile2
-rw-r--r--ms/neng/src/main/docker/startService.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/ms/neng/src/main/docker/Dockerfile b/ms/neng/src/main/docker/Dockerfile
index 6225f35d..e7dc93b3 100644
--- a/ms/neng/src/main/docker/Dockerfile
+++ b/ms/neng/src/main/docker/Dockerfile
@@ -32,5 +32,5 @@ ADD opt/etc/ /opt/etc/
#ADD /opt/aai/ /opt/aai/
ADD startService.sh /startService.sh
RUN chmod 700 /startService.sh
-ENTRYPOINT sh /startService.sh
+ENTRYPOINT bash /startService.sh
EXPOSE 8080
diff --git a/ms/neng/src/main/docker/startService.sh b/ms/neng/src/main/docker/startService.sh
index 0064ca39..7d724f39 100644
--- a/ms/neng/src/main/docker/startService.sh
+++ b/ms/neng/src/main/docker/startService.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#============LICENSE_START=======================================================
# ONAP : CCSDK.apps
# ================================================================================