diff options
author | 2020-05-01 15:22:52 +0000 | |
---|---|---|
committer | 2020-05-01 15:22:52 +0000 | |
commit | 67df0ae59ce7be87cee1386b579532a50924741d (patch) | |
tree | 85d6fd51970c684dda3ae303a56c85c4e154174b /build.sh | |
parent | 954fa9e943468477d7b6a60af29a253e6da7dd97 (diff) | |
parent | aa651ed10bd491dc2d57cd31ae0c64f3914d7458 (diff) |
Merge "Switch to arm32v6 and arm64v8 repos" into stable/hunter
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,10 +19,10 @@ 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.9|multiarch/alpine:arm64-v3.9|g" {} + + -e "s|alpine:3.9|arm64v8/alpine:3.9|g" {} + elif [[ ${arch} == arm ]]; then find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.9|multiarch/alpine:armhf-v3.9|g" {} + + -e "s|alpine:3.9|arm32v6/alpine:3.9|g" {} + fi (cd docker && docker build "${build_opts[@]}" \ -t "${repo}/${image}:${arch}-${tag}" .) |