Upgrade system first 50/71950/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:43:34 +0000 (11:43 +0100)
Change-Id: I0120e6a368b033f2fb47257ff9dcc3fd8a58d243
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/core/Dockerfile

index fd7a40b..707e92a 100644 (file)
@@ -6,7 +6,8 @@ ARG OPNFV_TAG=master
 
 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
-RUN apk --no-cache add --update python3 py3-pip py3-wheel bash git grep libffi openssl mailcap && \
+RUN apk -U upgrade && \
+    apk --no-cache add --update python3 py3-pip py3-wheel 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/requirements && \