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

docker/core/Dockerfile

index a42652b..a5ff2c3 100644 (file)
@@ -8,7 +8,8 @@ COPY Fixes-race-condition-in-test_add_remove_fixed_ip.patch /tmp/Fixes-race-cond
 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++ && \