Upgrade system first 38/72038/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Feb 2021 19:29:02 +0000 (20:29 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Feb 2021 19:30:06 +0000 (20:30 +0100)
Change-Id: I2d1b7816505370aa326e48c5aba3177a3fa844d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c152b35ecff671ea864ea4c55bcc1a7e244c9f73)

docker/core/Dockerfile

index baccc03..3181f47 100644 (file)
@@ -5,7 +5,8 @@ ARG OPENSTACK_TAG=stable/victoria
 
 COPY Switch-to-threading.Thread-for-Rally-tasks.patch /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch
 COPY Create-new-server-in-test_create_backup.patch /tmp/Create-new-server-in-test_create_backup.patch
-RUN apk --no-cache add --update \
+RUN apk -U upgrade && \
+    apk --no-cache add --update \
         python3 py3-wheel libffi openssl libjpeg-turbo py3-pip bash \
         grep sed wget ca-certificates git openssh-client qemu-img iputils coreutils mailcap libstdc++ && \
     apk --no-cache add --virtual .build-deps --update \