Fix for entrypoint to use sh instead of bash. 48/125148/3
authoradheli.tavares <adheli.tavares@est.tech>
Wed, 20 Oct 2021 08:00:26 +0000 (09:00 +0100)
committerAdheli Tavares <adheli.tavares@est.tech>
Thu, 21 Oct 2021 08:04:33 +0000 (08:04 +0000)
Issue-ID: POLICY-3767
Change-Id: I463ebdcb75e39b5ee7098c0cee178988fc360788
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile

index 2769c5a..d43b9e7 100644 (file)
@@ -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" ]