[ ! -z "${amd64_dirs}" ] &&
(docker rmi \
"${repo}/functest-kubernetes-core:amd64-jerma" \
- golang:1.13-alpine3.10 || true)
+ alpine:3.10 || true)
find . -name Dockerfile -exec git checkout {} +
find . -name Dockerfile -exec sed -i \
- -e "s|golang:1.13-alpine3.10|arm64v8/golang:1.13-alpine3.10|g" {} +
+ -e "s|alpine:3.10|arm64v8/alpine:3.10|g" {} +
find . -name Dockerfile -exec sed -i \
-e "s|opnfv/functest-kubernetes-core:jerma|\
${repo}/functest-kubernetes-core:arm64-jerma|g" {} +
done
[ ! -z "${arm64_dirs}" ] &&
(docker rmi "${repo}/functest-kubernetes-core:arm64-jerma" \
- arm64v8/golang:1.13-alpine3.10 || true)
+ arm64v8/alpine:3.10 || true)
find . -name Dockerfile -exec git checkout {} +
find . -name Dockerfile -exec sed -i \
- -e "s|golang:1.13-alpine3.10|arm32v7/golang:1.13-alpine3.10|g" {} +
+ -e "s|alpine:3.10|arm32v7/alpine:3.10|g" {} +
find . -name Dockerfile -exec sed -i \
-e "s|opnfv/functest-kubernetes-core:jerma|\
${repo}/functest-kubernetes-core:arm-jerma|g" {} +
done
[ ! -z "${arm_dirs}" ] &&
(docker rmi "${repo}/functest-kubernetes-core:arm-jerma" \
- arm32v7/golang:1.13-alpine3.10 || true)
+ arm32v7/alpine:3.10 || true)
find . -name Dockerfile -exec git checkout {} +
exit $?