HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817)
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
00e2405fbd
commit
c8725de547
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user