diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-10-20 13:15:24 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-10-20 16:49:42 +0200 |
commit | 2d735288878002bffc7b4b32a90a01e0f5881c09 (patch) | |
tree | 205d432b0124ec735fc2bff31cf5b4b75f36e7c5 /build.sh | |
parent | e9c3f49b9aa4714ef9c2be8658080f23f41dbd30 (diff) |
Update to Alpine 3.16
Change-Id: Ib630178c93d4a991f43611796e0c07975ce421ec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 651fbe30a574fde8c62e7b73b3f05e40fba6e58b)
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -32,11 +32,11 @@ done [ ! -z "${amd64_dirs}" ] && (docker rmi \ "${repo}/functest-kubernetes-core:amd64-v1.25" \ - alpine:3.15 || true) + alpine:3.16 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.15|arm64v8/alpine:3.15|g" {} + + -e "s|alpine:3.16|arm64v8/alpine:3.16|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-kubernetes-core:v1.25|\ ${repo}/functest-kubernetes-core:arm64-v1.25|g" {} + @@ -56,11 +56,11 @@ for dir in ${arm64_dirs}; do done [ ! -z "${arm64_dirs}" ] && (docker rmi "${repo}/functest-kubernetes-core:arm64-v1.25" \ - arm64v8/alpine:3.15 || true) + arm64v8/alpine:3.16 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.15|arm32v7/alpine:3.15|g" {} + + -e "s|alpine:3.16|arm32v7/alpine:3.16|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-kubernetes-core:v1.25|\ ${repo}/functest-kubernetes-core:arm-v1.25|g" {} + @@ -80,7 +80,7 @@ for dir in ${arm_dirs}; do done [ ! -z "${arm_dirs}" ] && (docker rmi "${repo}/functest-kubernetes-core:arm-v1.25" \ - arm32v7/alpine:3.15 || true) + arm32v7/alpine:3.16 || true) find . -name Dockerfile -exec git checkout {} + exit $? |