From: saul.gill Date: Mon, 7 Feb 2022 09:19:55 +0000 (+0000) Subject: Fix failing build in jdk base image X-Git-Tag: 2.4.1~15^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F127000%2F1;p=policy%2Fdocker.git Fix failing build in jdk base image 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 --- diff --git a/policy-jdk/alpine/src/main/docker/Dockerfile b/policy-jdk/alpine/src/main/docker/Dockerfile index 7f8fd91b..ca4021b1 100644 --- a/policy-jdk/alpine/src/main/docker/Dockerfile +++ b/policy-jdk/alpine/src/main/docker/Dockerfile @@ -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