Skip to content

Commit 8034a6e

Browse files
author
Daniel Bunte
committed
fix(install): platform detection for amd64
1 parent 64c9741 commit 8034a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/detect-platform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ elif [[ $CONTAINER_ENGINE == "docker" ]]; then
2020
fi
2121

2222
export DOCKER_ARCH=$($CONTAINER_ENGINE info --format "$FORMAT")
23-
if [[ "$DOCKER_ARCH" = "x86_64" ]]; then
23+
if [[ "$DOCKER_ARCH" = "x86_64" || "$DOCKER_ARCH" = "amd64" ]]; then
2424
export DOCKER_PLATFORM="linux/amd64"
2525
elif [[ "$DOCKER_ARCH" = "aarch64" ]]; then
2626
export DOCKER_PLATFORM="linux/arm64"

0 commit comments

Comments
 (0)