Upgrade system first 43/71943/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 10 Feb 2021 00:24:09 +0000 (01:24 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 10 Feb 2021 00:30:45 +0000 (01:30 +0100)
Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 416589195799adc49c5163522313f9e9321c4449)

docker/core/Dockerfile

index fcce64e..e01f12f 100644 (file)
@@ -3,7 +3,8 @@ FROM alpine:3.12
 ARG BRANCH=stable/leguer
 ARG OPENSTACK_TAG=stable/victoria
 
-RUN apk --no-cache add --update python3 py3-pip py3-wheel bash git mailcap libxml2 libxslt && \
+RUN apk -U upgrade && \
+    apk --no-cache add --update python3 py3-pip py3-wheel bash git mailcap libxml2 libxslt && \
     apk --no-cache add --virtual .build-deps --update \
         python3-dev build-base libxml2-dev libxslt-dev && \
     case $(uname -m) in aarch*|arm*) CFLAGS="-O0" \