Skip to content

Commit

Permalink
binja: explicitly specify expected platform for pate container
Browse files Browse the repository at this point in the history
Match platform in Dockerfile, avoid platform mismatch warning on non-native platforms (e.g. arm64 macs)
  • Loading branch information
thebendavis committed Jun 21, 2024
1 parent 1d08120 commit 921ab57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pate_binja/run-pate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "$PATE_BINJA_MODE" = "BUILD" ]
then
pate="$PATE/pate.sh"
else
pate="docker run --rm -i -v .:/work --workdir=/work pate"
pate="docker run --platform linux/amd64 --rm -i -v .:/work --workdir=/work pate"
fi

exec $pate "$@"
Expand Down

0 comments on commit 921ab57

Please sign in to comment.