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

fix: no qemu binfmt reset when not needed

parent 643d0f5f
No related branches found
No related tags found
1 merge request!547fix: no qemu binfmt reset when not needed
...@@ -204,7 +204,12 @@ version: ...@@ -204,7 +204,12 @@ version:
- docker-new - docker-new
before_script: before_script:
- !reference [default, before_script] - !reference [default, before_script]
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc ;
for arch in aarch64 ; do
if ! grep --quiet enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then
docker run --rm --privileged multiarch/qemu-user-static --persistent yes ;
fi ;
done
- docker buildx create --name builder --driver docker-container --bootstrap --use - docker buildx create --name builder --driver docker-container --bootstrap --use
## Images: ## Images:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment