Upgrade system first 39/72039/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:31:01 +0000 (20:31 +0100)
Change-Id: I2d1b7816505370aa326e48c5aba3177a3fa844d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c152b35ecff671ea864ea4c55bcc1a7e244c9f73)

docker/core/Dockerfile

index 11930e6..3d6198f 100644 (file)
@@ -6,7 +6,8 @@ ARG OPENSTACK_TAG=stable/ussuri
 COPY object-storage-fix-and-cleanup-header-checks.patch /tmp/object-storage-fix-and-cleanup-header-checks.patch
 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 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 \