mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-10-01 03:43:49 +08:00
Use tonistiigi/binfmt for emulation to fix qemu segfaults (#468)
Use tonistiigi/binfmt for emulation
This commit is contained in:
+2
-2
@@ -40,8 +40,8 @@ fi
|
||||
|
||||
# Setup qemu multiarch
|
||||
if [ "$(uname -m)" = "x86_64" ]; then
|
||||
echo "Registering qemu-user-static"
|
||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes > /dev/null
|
||||
echo "Registering emulator"
|
||||
docker run --rm --privileged tonistiigi/binfmt --install all
|
||||
fi
|
||||
|
||||
# Check agnos-builder Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user