aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 05aa529f..8fb23242 100644
--- a/build.sh
+++ b/build.sh
@@ -31,11 +31,11 @@ done
[ ! -z "${amd64_dirs}" ] &&
(docker rmi \
"${repo}/functest-kubernetes-core:amd64-latest" \
- golang:1.13-alpine3.12 || true)
+ alpine:3.12 || true)
find . -name Dockerfile -exec git checkout {} +
find . -name Dockerfile -exec sed -i \
- -e "s|golang:1.15-alpine3.12|arm64v8/golang:1.15-alpine3.12|g" {} +
+ -e "s|alpine:3.12|arm64v8/alpine:3.12|g" {} +
find . -name Dockerfile -exec sed -i \
-e "s|opnfv/functest-kubernetes-core|\
${repo}/functest-kubernetes-core:arm64-latest|g" {} +
@@ -52,11 +52,11 @@ for dir in ${arm64_dirs}; do
done
[ ! -z "${arm64_dirs}" ] &&
(docker rmi "${repo}/functest-kubernetes-core:arm64-latest" \
- arm64v8/golang:1.15-alpine3.12 || true)
+ arm64v8/alpine:3.12 || true)
find . -name Dockerfile -exec git checkout {} +
find . -name Dockerfile -exec sed -i \
- -e "s|golang:1.15-alpine3.12|arm32v7/golang:1.15-alpine3.12|g" {} +
+ -e "s|alpine:3.12|arm32v7/alpine:3.12|g" {} +
find . -name Dockerfile -exec sed -i \
-e "s|opnfv/functest-kubernetes-core|\
${repo}/functest-kubernetes-core:arm-latest|g" {} +
@@ -73,7 +73,7 @@ for dir in ${arm_dirs}; do
done
[ ! -z "${arm_dirs}" ] &&
(docker rmi "${repo}/functest-kubernetes-core:arm-latest" \
- arm32v7/golang:1.15-alpine3.12 || true)
+ arm32v7/alpine:3.12 || true)
find . -name Dockerfile -exec git checkout {} +
exit $?