HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817)

Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c8725de547)
This commit is contained in:
Akira Ajisaka 2021-12-23 18:13:18 +09:00 committed by Chao Sun
parent c63509127f
commit 5a7efbfbb5
1 changed files with 1 additions and 1 deletions

View File

@ -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