Fix failing build in jdk base image 00/127000/1
authorsaul.gill <saul.gill@est.tech>
Mon, 7 Feb 2022 09:19:55 +0000 (09:19 +0000)
committersaul.gill <saul.gill@est.tech>
Mon, 7 Feb 2022 09:20:01 +0000 (09:20 +0000)
Fix originally put in drools-pdp
Upgraded Python pip package as was causing build failure

Issue-ID: POLICY-3905
Change-Id: Ib5320790914a6a1344ae0548aeda3c7cf4585734
Signed-off-by: saul.gill <saul.gill@est.tech>
policy-jdk/alpine/src/main/docker/Dockerfile

index 7f8fd91..ca4021b 100644 (file)
@@ -1,7 +1,7 @@
 #   ============LICENSE_START=======================================================
 #    Copyright (C) 2019 Tieto. All rights reserved.
 #    Modifications Copyright (C) 2020, 2021 AT&T Intellectual Property. All rights reserved.
-#    Modifications Copyright (C) 2020 Nordix Foundation.
+#    Modifications Copyright (C) 2020, 2022 Nordix Foundation.
 #   ================================================================================
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -54,4 +54,5 @@ RUN rm -rf /opt/java/openjdk \
     && addgroup -S policy \
     && adduser -S  --shell /bin/sh -G policy policy \
     && mkdir -p ${POLICY_HOME}/ \
-    && chown policy:policy ${POLICY_HOME}
+    && chown policy:policy ${POLICY_HOME} \
+    && pip install --upgrade pip==22.0.3