From 55137e757b33b76d045df2b4b56269395619e3a0 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 6 May 2020 07:34:18 -0400 Subject: 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 --- ms/neng/src/main/docker/Dockerfile | 2 +- ms/neng/src/main/docker/startService.sh | 2 +- 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 # ================================================================================ -- cgit 1.2.3-korg