aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-06-06 17:49:54 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-06-07 09:32:32 +0200
commit005a5ad5ec6f29e6777ce69cc66524d4cc34517d (patch)
tree3bce7ec542e2fff8bc805a092b1b455104271a13
parente2634d19937f98176c56f845587eff6878387522 (diff)
Update to alpine3.12
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--ansible/site.yml2
-rw-r--r--build.sh4
-rw-r--r--docker/Dockerfile4
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 && \