This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 7796d1c93 BIGTOP-4534. Make arch of docker image consistent for
packaging on MacOS. (#1394)
7796d1c93 is described below
commit 7796d1c9391f13a78b90cd68001def7a26816d08
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Tue Jun 9 19:53:36 2026 +0900
BIGTOP-4534. Make arch of docker image consistent for packaging on MacOS.
(#1394)
---
bigtop-ci/build.sh | 4 ++++
provisioner/docker/docker-hadoop.sh | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/bigtop-ci/build.sh b/bigtop-ci/build.sh
index dec4e6ccb..f697059fb 100755
--- a/bigtop-ci/build.sh
+++ b/bigtop-ci/build.sh
@@ -80,6 +80,10 @@ fi
IMAGE_NAME=bigtop/slaves:$PREFIX-$OS
ARCH=$(uname -m)
+case "$ARCH" in
+ aarch64|arm64) ARCH="aarch64" ;;
+ *) ARCH="$ARCH" ;;
+esac
if [ "x86_64" != $ARCH ]; then
IMAGE_NAME=$IMAGE_NAME-$ARCH
fi
diff --git a/provisioner/docker/docker-hadoop.sh
b/provisioner/docker/docker-hadoop.sh
index 38ece152d..1ff5fe67f 100755
--- a/provisioner/docker/docker-hadoop.sh
+++ b/provisioner/docker/docker-hadoop.sh
@@ -67,6 +67,10 @@ create() {
image_name=$(get-yaml-config docker image)
fi
running_arch=$(uname -m)
+ case "$running_arch" in
+ aarch64|arm64) running_arch="aarch64" ;;
+ *) running_arch="$running_arch" ;;
+ esac
if [ "x86_64" == ${running_arch} ]; then
image_name=${image_name}
else