Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 152fd7f

Browse files
committed
Use the Docker preferred platform alias for x86_64 when building.
1 parent 293d2c0 commit 152fd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function build_one_abi() {
102102
#
103103
# For debugging the Docker image, you can use the name python-android-support-local:latest.
104104
TAG_NAME="python-android-support-local:$(python3 -c 'import random; print(random.randint(0, 1e16))')"
105-
DOCKER_BUILDKIT=1 docker build --platform linux/x86_64 --tag ${TAG_NAME} --tag python-android-support-local:latest \
105+
DOCKER_BUILDKIT=1 docker build --platform linux/amd64 --tag ${TAG_NAME} --tag python-android-support-local:latest \
106106
--build-arg PYTHON_VERSION="${PYTHON_VERSION}" --build-arg PYTHON_SOVERSION="${PYTHON_SOVERSION}" \
107107
--build-arg COMPRESS_LEVEL="${COMPRESS_LEVEL}" --build-arg COMPILER_TRIPLE="${COMPILER_TRIPLE}" \
108108
--build-arg OPENSSL_BUILD_TARGET="$OPENSSL_BUILD_TARGET" --build-arg TARGET_ABI_SHORTNAME="$TARGET_ABI_SHORTNAME" \

0 commit comments

Comments
 (0)