Skip to content

Commit

Permalink
Add s390x support again as thin-provisioning-tools package is now ava…
Browse files Browse the repository at this point in the history
…ilable
  • Loading branch information
madeelibm committed Jul 1, 2024
1 parent 89f779d commit 00ef9db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/check_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00ef9db

Please sign in to comment.