From f896582f324da5a6d7f2a365b1cb4a84b5ad2911 Mon Sep 17 00:00:00 2001 From: David Porter Date: Fri, 1 Mar 2024 18:02:55 -0800 Subject: [PATCH] Remove s390x support We can't build with s390x now due to missing package (thin-provisioning-tools) ``` fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/s390x/APKINDEX.tar.gz ERROR: unable to select packages: thin-provisioning-tools (no such package): required by: world[thin-provisioning-tools] ``` Signed-off-by: David Porter --- 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 d99ce30b77..9bd2622ad0 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" "s390x" ) +arches=( "amd64" "arm" "arm64" ) # 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 8ade29120f..367cd9ceeb 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" ["s390x"]="s390x") +declare -A arches=( ["amd64"]="x86_64" ["arm"]="arm" ["arm64"]="aarch64" ) for arch in "${arches[@]}"; do if ! hash "qemu-${arch}-static"; then