aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-04-22 20:51:50 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-04-25 10:58:08 +0200
commited3ec08d5caa2e76b5849fa6e212891c987eace8 (patch)
tree8dc41e2836f4655e427a256d0aab36cf437ab282 /docker/core/Dockerfile
parent0257556146d6e2af94f0b8aa085810f102afb22d (diff)
Use ujson version asked by OpenStack requirement
It's newer than the former tag selected [1]. [1] https://github.com/openstack/requirements/blob/master/upper-constraints.txt Change-Id: Ie89136da364d7e972a1d7f49c71bdfbbdd9671d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 743235f280b675cab39adb15de8bcea215a1c038)
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r--docker/core/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index ab58b1eed..f401d5530 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -5,11 +5,13 @@ ARG OPENSTACK_TAG=stable/rocky
RUN apk --no-cache add --update \
python libffi openssl libjpeg-turbo py-pip bash \
- grep sed wget ca-certificates git openssh-client qemu-img iputils coreutils mailcap && \
+ grep sed wget ca-certificates git openssh-client qemu-img iputils coreutils mailcap \
+ libstdc++ && \
apk --no-cache add --virtual .build-deps --update \
python-dev build-base linux-headers libffi-dev \
openssl-dev libjpeg-turbo-dev && \
wget -q -O- https://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt > upper-constraints.txt && \
+ sed -i -E /^ujson==+.*$/d upper-constraints.txt && \
case $(uname -m) in aarch*|arm*) sed -i -E /^PyNaCl=/d upper-constraints.txt && apk add --no-cache py-pynacl ;; esac && \
wget -q -O- https://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH > upper-constraints.opnfv.txt && \
sed -i -E /#egg=functest/d upper-constraints.opnfv.txt && \