[Docker] Add support for arm32/64 (#2104)

This commit is contained in:
Bockiii 2021-05-13 19:57:10 +02:00 committed by GitHub
parent e79a02ac2e
commit 3585575d68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 78 additions and 1 deletions

5
hooks/pre_build Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
# Register qemu-*-static for all supported processors except the
# current one, but also remove all registered binfmt_misc before
docker run --rm --privileged multiarch/qemu-user-static:register --reset