Upgrade system first 57/71957/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 13:33:46 +0000 (14:33 +0100)
Change-Id: I0120e6a368b033f2fb47257ff9dcc3fd8a58d243
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9ebe47c8458c99066fd71a65007fff923004d209)

docker/core/Dockerfile

index cfc4d50..b5df682 100644 (file)
@@ -7,7 +7,8 @@ ARG OPNFV_TAG=stable/kali
 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 python3 bash git grep libffi openssl mailcap && \
+RUN apk -U upgrade && \
+    apk --no-cache add --update python3 bash git grep libffi openssl mailcap && \
     apk --no-cache add --virtual .build-deps --update \
         python3-dev build-base libffi-dev openssl-dev && \
     git init /src/functest-kubernetes && \