Skip to content

Commit 7f09815

Browse files
committed
Force x86_64 emulation
There is no aarch64 version of python processing so building images doesn't work on M1 macs
1 parent 88d4afe commit 7f09815

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎docker-compose.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ services:
66
context: .
77
dockerfile: Dockerfile
88
image: processing-py-site
9+
platform: linux/amd64
910
volumes:
1011
- .:/usr/src/app
1112

1213
fetch-jar:
1314
image: processing-py-site
15+
platform: linux/amd64
1416
volumes:
1517
- .:/usr/src/app
1618
command: >

‎fetch_processing_jar.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ARCH=$(uname -m)
2121
URL=""
2222

2323
if [ "$OS" == "Linux" ]; then
24-
if [ "$ARCH" == "x86_64" ] || [ "$ARCH" == "aarch64" ]; then
24+
if [ "$ARCH" == "x86_64" ]; then
2525
URL="$URL_LINUX64"
2626
elif [ "$ARCH" == "i386" ] || [ "$ARCH" == "i686" ]; then
2727
URL="$URL_LINUX32"

0 commit comments

Comments
 (0)