Fix for failing merge job 73/126973/1
authorsaul.gill <saul.gill@est.tech>
Fri, 4 Feb 2022 15:01:19 +0000 (15:01 +0000)
committersaul.gill <saul.gill@est.tech>
Fri, 4 Feb 2022 15:24:43 +0000 (15:24 +0000)
Upgraded version of pip being used by Dockerfile
Error was reproduced and fixed locally

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

index d283807..64d8fa8 100644 (file)
@@ -2,6 +2,7 @@
 # Dockerfile
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
+#  Modified Copyright (C) 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.
@@ -45,6 +46,7 @@ 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