Skip to content

Commit 3864d7f

Browse files
authored
Merge pull request #3521 from madeelibm/enable-s390x
Add s390x support again
2 parents f46992f + 00ef9db commit 3864d7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/check_container.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
target_image=$1
2929

3030
# Architectures officially supported by cadvisor
31-
arches=( "amd64" "arm" "arm64" )
31+
arches=( "amd64" "arm" "arm64" "s390x" )
3232

3333
# Docker doesn't handle images with different architectures but the same tag.
3434
# Remove the container and the image use by it to avoid problems.

build/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ docker buildx inspect cadvisor-builder > /dev/null \
5555
# Build binaries
5656

5757
# 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" )
5959

6060
for arch in "${arches[@]}"; do
6161
if ! hash "qemu-${arch}-static"; then

0 commit comments

Comments
 (0)