This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (c) 2020 [email protected] | |
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
# | |
# This script tries to reregister QEMU's binfmt_misc handlers with the | |
# fix-binary (F) flag in order to be usable with 'docker buildx' to build | |
# multi-architecture images. | |
# For more information see: | |
# https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (c) 2020 [email protected] | |
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
# | |
# This script checks if all software requirements are met in a Linux environment | |
# in order to use 'docker buildx' to build multi-architecture images. | |
# For more information see: | |
# https://nexus.eddiesinentropy.net/2020/01/12/Building-Multi-architecture-Docker-Images-With-Buildx/ | |
function error() { |