aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-10 01:24:09 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-10 01:30:45 +0100
commite211d959f298f083da08c723fff0176199b61053 (patch)
treedea4625d7144aeac896e7bf61eb474808e1b7834
parenta57b7a694206f6a699b959ecc982fe2b25c347dd (diff)
Upgrade system first
Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 416589195799adc49c5163522313f9e9321c4449)
-rw-r--r--docker/core/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index fcce64ea..e01f12f2 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -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" \