update parent,common references in policy/models pom
[policy/models.git] / models-sim / policy-models-sim-pdp / src / main / package / docker / Dockerfile
index 8152304..dde15ac 100644 (file)
@@ -1,7 +1,7 @@
 #
 # ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-#  Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
+#  Copyright (C) 2019-2021 Nordix Foundation.
+#  Modifications Copyright (C) 2019 AT&T Intellectual Property.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # ============LICENSE_END=========================================================
 #
 
-FROM onap/policy-jre-alpine:2.1.0
+#
+# Docker file to build an image that runs the PDP simulator on Java 8 in alpine
+#
+
+FROM onap/policy-jre-alpine:2.6.0
 
 LABEL maintainer="Policy Team"
 
@@ -50,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" ]