From 5a7efbfbb5a87ad653def150355671ffe0290b5a Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Thu, 23 Dec 2021 18:13:18 +0900 Subject: [PATCH] HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817) Reviewed-by: Wei-Chiu Chuang (cherry picked from commit c8725de54708ce6b987894e75f18bd45ca2eeff6) --- start-build-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-build-env.sh b/start-build-env.sh index 2ee44de41aa..375a027a06b 100755 --- a/start-build-env.sh +++ b/start-build-env.sh @@ -23,7 +23,7 @@ DOCKER_DIR=dev-support/docker DOCKER_FILE="${DOCKER_DIR}/Dockerfile" CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1) -if [ "$CPU_ARCH" = "aarch64" ]; then +if [[ "$CPU_ARCH" = "aarch64" || "$CPU_ARCH" = "arm64" ]]; then DOCKER_FILE="${DOCKER_DIR}/Dockerfile_aarch64" fi