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 12:50:52 -0400
commit261379c5d7327ce19fd271225efb3e2a27e98809 (patch)
tree6e9e48d2eaccc6835984422fcf1f65a5f1d8155f
parenta31c872db42c4e4b538248fa67cfcdfea618b8cd (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: I10236231204628f0832268409464418b4bca2d2a 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 5327b11b..6f42eaec 100644
--- a/ms/neng/src/main/docker/Dockerfile
+++ b/ms/neng/src/main/docker/Dockerfile
@@ -37,5 +37,5 @@ RUN chown -R ccsdk:ccsdk /opt
RUN chmod go+w /tmp
RUN chmod 700 /startService.sh
USER ccsdk
-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
# ================================================================================