Do not force platform in docker run

As the images are not multi-platform, there is no need to hard-code
`--platform linux/amd64` which doesn't work properly for x86 images
This commit is contained in:
Mickaël Guérin 2023-01-31 09:40:22 +01:00
parent 699a52c3e5
commit c1ce207a34

View File

@ -242,7 +242,6 @@ TTY_ARGS=
tty -s && [ -z "$MSYS" ] && TTY_ARGS=-ti
CONTAINER_NAME=dockcross_$RANDOM
$OCI_EXE run $TTY_ARGS --name $CONTAINER_NAME \
--platform linux/amd64 \
-v "$HOST_PWD":/work \
$HOST_VOLUMES \
"${USER_IDS[@]}" \