Minor, fix cpu arch compare to use correct Dockerfile (#6852)
This commit is contained in:
parent
4b1b16a846
commit
a1f5dc5865
@ -23,7 +23,7 @@ DOCKER_DIR=dev-support/docker
|
|||||||
DOCKER_FILE="${DOCKER_DIR}/Dockerfile"
|
DOCKER_FILE="${DOCKER_DIR}/Dockerfile"
|
||||||
|
|
||||||
CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1)
|
CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1)
|
||||||
if [[ "$CPU_ARCH" = "aarch64" || "$CPU_ARCH" = "arm64" ]]; then
|
if [[ "$CPU_ARCH" == "aarch64" || "$CPU_ARCH" == "arm64" ]]; then
|
||||||
DOCKER_FILE="${DOCKER_DIR}/Dockerfile_aarch64"
|
DOCKER_FILE="${DOCKER_DIR}/Dockerfile_aarch64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user