From 005a5ad5ec6f29e6777ce69cc66524d4cc34517d Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Sat, 6 Jun 2020 17:49:54 +0200 Subject: [PATCH] Update to alpine3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012 Signed-off-by: Cédric Ollivier --- ansible/site.yml | 2 +- build.sh | 4 ++-- docker/Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index b042d57b..ccc42b3f 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -7,7 +7,7 @@ - repo: _ dport: container: alpine - tag: '3.11' + tag: '3.12' steps: - name: opnfv/xtesting containers: diff --git a/build.sh b/build.sh index b7e56725..3c155594 100644 --- a/build.sh +++ b/build.sh @@ -19,10 +19,10 @@ build_opts=(--pull=true --no-cache --force-rm=true) for arch in ${arch};do if [[ ${arch} == arm64 ]]; then find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.11|arm64v8/alpine:3.11|g" {} + + -e "s|alpine:3.12|arm64v8/alpine:3.12|g" {} + elif [[ ${arch} == arm ]]; then find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.11|arm32v6/alpine:3.11|g" {} + + -e "s|alpine:3.12|arm32v6/alpine:3.12|g" {} + fi (cd docker && docker build "${build_opts[@]}" \ -t "${repo}/${image}:${arch}-${tag}" .) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7b908cd4..a5e3801e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,9 +1,9 @@ -FROM alpine:3.11 +FROM alpine:3.12 ARG BRANCH=master ARG OPENSTACK_TAG=master -RUN apk --no-cache add --update python3 bash git mailcap && \ +RUN apk --no-cache add --update python3 py3-pip bash git mailcap && \ apk --no-cache add --virtual .build-deps --update \ python3-dev build-base && \ git init /src/functest-xtesting && \ -- 2.16.6