Skip to content

Commit

Permalink
Merge pull request #3521 from madeelibm/enable-s390x
Browse files Browse the repository at this point in the history
Add s390x support again
  • Loading branch information
iwankgb authored Jul 6, 2024
2 parents f46992f + 00ef9db commit 3864d7f
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 3864d7f

Please sign in to comment.