Upgrade system first 54/71954/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 10 Feb 2021 10:43:34 +0000 (11:43 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 10 Feb 2021 10:48:34 +0000 (11:48 +0100)
Change-Id: I0120e6a368b033f2fb47257ff9dcc3fd8a58d243
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9ebe47c8458c99066fd71a65007fff923004d209)

docker/core/Dockerfile

index b7cbae7..30598f6 100644 (file)
@@ -7,7 +7,8 @@ ARG OPNFV_TAG=stable/hunter
 COPY Try-a-quick-fix-vs-asynchronuous-issues.patch /tmp/Try-a-quick-fix-vs-asynchronuous-issues.patch
 COPY Switch-to-threading.Thread-for-Rally-tasks.patch /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch
 COPY Allow-offline-testing-in-PodWithClusterIPSvc.patch /tmp/Allow-offline-testing-in-PodWithClusterIPSvc.patch
-RUN apk --no-cache add --update python py-pip bash git grep libffi openssl mailcap && \
+RUN apk -U upgrade && \
+    apk --no-cache add --update python py-pip bash git grep libffi openssl mailcap && \
     apk --no-cache add --virtual .build-deps --update \
         python-dev build-base libffi-dev openssl-dev && \
     git init /src/functest-kubernetes && \