Skip to content

Commit 7188536

Browse files
authored
Migrate to tonistiigi/binfmt (#239)
1 parent ac2bc7e commit 7188536

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,9 @@ function init_crosscompile() {
747747
fi
748748

749749
bashio::log.info "Setup crosscompiling feature"
750-
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes \
750+
docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-* \
751+
> /dev/null 2>&1 || bashio::log.warning "Can't remove old qemu binfmt"
752+
docker run --rm --privileged tonistiigi/binfmt --install all \
751753
> /dev/null 2>&1 || bashio::log.warning "Can't enable crosscompiling feature"
752754
}
753755

0 commit comments

Comments
 (0)