diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-08-12 09:35:16 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-08-12 09:35:16 +0200 |
commit | 0fc49487b76c4790156e336982a42ff9f0a23d55 (patch) | |
tree | 1ffcb9b90721e19fc76ef59eb388957fc4b32b8a | |
parent | e6288ba6b497061e280caa5a574fe22a9ba9f504 (diff) |
Update container builds due to Alpine 3.14
Change-Id: I2db26b02adb2b9e19a6636f9527765fde3588fdb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,12 +24,12 @@ 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.13|arm64v8/alpine:3.13|g" {} + + -e "s|alpine:3.14|arm64v8/alpine:3.14|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/xtesting|${repo}/xtesting:arm64-${tag}|g" {} + elif [[ ${arch} == arm ]]; then find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.13|arm32v6/alpine:3.13|g" {} + + -e "s|alpine:3.14|arm32v6/alpine:3.14|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/xtesting|${repo}/xtesting:arm-${tag}|g" {} + else |