From 00ef9db467c2e548d0ab3bbfcedebe9aa737a99a Mon Sep 17 00:00:00 2001 From: Muhammad Adeel Date: Tue, 23 Apr 2024 16:08:25 +0200 Subject: [PATCH] Add s390x support again as thin-provisioning-tools package is now available --- build/check_container.sh | 2 +- build/release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/check_container.sh b/build/check_container.sh index 9bd2622ad0..d99ce30b77 100755 --- a/build/check_container.sh +++ b/build/check_container.sh @@ -28,7 +28,7 @@ target_image=$1 # Architectures officially supported by cadvisor -arches=( "amd64" "arm" "arm64" ) +arches=( "amd64" "arm" "arm64" "s390x" ) # Docker doesn't handle images with different architectures but the same tag. # Remove the container and the image use by it to avoid problems. diff --git a/build/release.sh b/build/release.sh index b0401e3b30..37bc77c430 100755 --- a/build/release.sh +++ b/build/release.sh @@ -55,7 +55,7 @@ docker buildx inspect cadvisor-builder > /dev/null \ # Build binaries # A mapping of the docker arch name to the qemu arch name -declare -A arches=( ["amd64"]="x86_64" ["arm"]="arm" ["arm64"]="aarch64" ) +declare -A arches=( ["amd64"]="x86_64" ["arm"]="arm" ["arm64"]="aarch64" ["s390x"]="s390x" ) for arch in "${arches[@]}"; do if ! hash "qemu-${arch}-static"; then