Skip to content
Snippets Groups Projects
Commit f8a5a596 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: no reset

parent 96c776ea
Branches
Tags
1 merge request!547fix: no qemu binfmt reset when not needed
This commit is part of merge request !547. Comments created here will be created in the context of that merge request.
...@@ -207,7 +207,7 @@ version: ...@@ -207,7 +207,7 @@ version:
- find /proc/sys/fs/binfmt_misc -type f -name 'qemu-*' -exec sh -c 'cat {}' \; - find /proc/sys/fs/binfmt_misc -type f -name 'qemu-*' -exec sh -c 'cat {}' \;
- for arch in aarch64 ; do - for arch in aarch64 ; do
if ! grep --quiet enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then if ! grep --quiet enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then
docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes ; docker run --rm --privileged multiarch/qemu-user-static --persistent yes ;
fi ; fi ;
done done
- docker buildx create --name builder --driver docker-container --bootstrap --use - docker buildx create --name builder --driver docker-container --bootstrap --use
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment