Fix alpine version when replacing 45/74845/1 stable/2024.1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 9 Apr 2025 16:05:33 +0000 (18:05 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 9 Apr 2025 16:07:27 +0000 (18:07 +0200)
Change-Id: I55a1b58cb8c58702aa98491617db899113679c13
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 71914c440746e87e32d96798c87604f71f7bc3fc)

build.sh

index 7db1db2..b38eb58 100644 (file)
--- a/build.sh
+++ b/build.sh
@@ -23,12 +23,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.17|arm64v8/alpine:3.17|g" {} +
+            -e "s|alpine:3.20|arm64v8/alpine:3.20|g" {} +
         find . -name Dockerfile -exec sed -i \
             -e "s|opnfv/xtesting:2024.1|${repo}/xtesting:arm64-${tag}|g" {} +
     elif [[ ${arch} == arm ]]; then
         find . -name Dockerfile -exec sed -i \
-            -e "s|alpine:3.17|arm32v6/alpine:3.17|g" {} +
+            -e "s|alpine:3.20|arm32v6/alpine:3.20|g" {} +
         find . -name Dockerfile -exec sed -i \
             -e "s|opnfv/xtesting:2024.1|${repo}/xtesting:arm-${tag}|g" {} +
     else