aboutsummaryrefslogtreecommitdiffstats
path: root/models-sim
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2021-10-20 09:00:26 +0100
committerAdheli Tavares <adheli.tavares@est.tech>2021-10-21 08:04:33 +0000
commit54440b8e74d7e54b2699f36414e71b846571ee48 (patch)
treec149b4686e713bd7ad0b177afb5c618850aab52a /models-sim
parent125e445b650897d75967ed8d3710098a7702cf04 (diff)
Fix for entrypoint to use sh instead of bash.
Issue-ID: POLICY-3767 Change-Id: I463ebdcb75e39b5ee7098c0cee178988fc360788 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'models-sim')
-rw-r--r--models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
index 2769c5a0e..d43b9e72c 100644
--- a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
+++ b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
@@ -1,6 +1,6 @@
#
# ============LICENSE_START=======================================================
-# Copyright (C) 2019 Nordix Foundation.
+# Copyright (C) 2019-2021 Nordix Foundation.
# Modifications Copyright (C) 2019 AT&T Intellectual Property.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -54,4 +54,4 @@ RUN find /opt/app -type d -perm 755 \
USER policy
ENV PATH ${POLICY_HOME}/pdp-sim/bin:$PATH
-ENTRYPOINT [ "bash", "pdp-sim.sh" ]
+ENTRYPOINT [ "sh", "/opt/app/policy/pdp-sim/bin/pdp-sim.sh" ]