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:
parent
c63509127f
commit
5a7efbfbb5
|
@ -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