Update to alpine3.12 87/70287/4
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 6 Jun 2020 15:49:54 +0000 (17:49 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 7 Jun 2020 07:32:32 +0000 (09:32 +0200)
https://alpinelinux.org/posts/Alpine-3.12.0-released.html

Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ansible/site.yml
build.sh
docker/Dockerfile

index b042d57..ccc42b3 100644 (file)
@@ -7,7 +7,7 @@
           - repo: _
             dport:
             container: alpine
-            tag: '3.11'
+            tag: '3.12'
         steps:
           - name: opnfv/xtesting
             containers:
index b7e5672..3c15559 100644 (file)
--- 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}" .)
index 7b908cd..a5e3801 100644 (file)
@@ -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 && \