File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 28
28
target_image=$1
29
29
30
30
# Architectures officially supported by cadvisor
31
- arches=( " amd64" " arm" " arm64" )
31
+ arches=( " amd64" " arm" " arm64" " s390x " )
32
32
33
33
# Docker doesn't handle images with different architectures but the same tag.
34
34
# Remove the container and the image use by it to avoid problems.
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ docker buildx inspect cadvisor-builder > /dev/null \
55
55
# Build binaries
56
56
57
57
# A mapping of the docker arch name to the qemu arch name
58
- declare -A arches=( [" amd64" ]=" x86_64" [" arm" ]=" arm" [" arm64" ]=" aarch64" )
58
+ declare -A arches=( [" amd64" ]=" x86_64" [" arm" ]=" arm" [" arm64" ]=" aarch64" [ " s390x " ]= " s390x " )
59
59
60
60
for arch in " ${arches[@]} " ; do
61
61
if ! hash " qemu-${arch} -static" ; then
You can’t perform that action at this time.
0 commit comments