Alter base image of drools-pdp Dockerfile 10/127010/1
authorsaul.gill <saul.gill@est.tech>
Mon, 7 Feb 2022 17:37:16 +0000 (17:37 +0000)
committersaul.gill <saul.gill@est.tech>
Mon, 7 Feb 2022 18:13:47 +0000 (18:13 +0000)
Previously the pip package was upgraded in this file
Now the upgrade is done in the parent docker image
The parent image version is changed
The pip package upgrade is removed

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

index 64d8fa8..2c0bbc3 100644 (file)
@@ -19,7 +19,7 @@
 # SPDX-License-Identifier: Apache-2.0
 # ============LICENSE_END=========================================================
 #-------------------------------------------------------------------------------
-FROM onap/policy-jdk-alpine:2.4.0
+FROM onap/policy-jdk-alpine:2.4-SNAPSHOT-latest
 
 LABEL maintainer="Policy Team"
 
@@ -46,7 +46,6 @@ RUN apk update && \
     apk add --no-cache mariadb-client \
     file \
     net-tools netcat-openbsd sudo less vim openssl \
-    && pip install --upgrade pip==22.0.3 \
     && python3 -m pip install --no-cache-dir --upgrade setuptools http-prompt \
     && python3 -m pip install --no-cache-dir httpie