diff --git a/worker/Dockerfile b/worker/Dockerfile
index a198da19247ddfde34dd6976fc20058009620eee..0f61d3e588b7532975c51e4de6f81ac3eb8941a9 100644
--- a/worker/Dockerfile
+++ b/worker/Dockerfile
@@ -4,13 +4,16 @@ ENV LC_ALL C.UTF-8
 ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update \
- && apt-get install -y apt-transport-https ca-certificates
+ && apt-get install -y apt-transport-https ca-certificates binfmt-support
 
 RUN mkdir -p /etc/apt/sources.list.d
 COPY stretch-backports.list /etc/apt/sources.list.d/
 COPY collabora-tools.list /etc/apt/sources.list.d/
 COPY collabora-archive-keyring.gpg /usr/share/keyrings/
 
+RUN mv /usr/sbin/update-binfmts /usr/sbin/update-binfmts.distrib
+COPY update-binfmts /usr/sbin
+
 # Use stretch since it’s not the stable anymore
 RUN sed -i 's/stable/stretch/g' /etc/apt/sources.list \
  && apt-get update \
@@ -18,6 +21,8 @@ RUN sed -i 's/stable/stretch/g' /etc/apt/sources.list \
       obs-worker locales qemu-user-static \
  && sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/obsworker
 
+RUN mv -f /usr/sbin/update-binfmts.distrib /usr/sbin/update-binfmts
+
 VOLUME /srv/obs
 
 ADD services/service.conf /etc/supervisor/conf.d/service.conf
diff --git a/worker/update-binfmts b/worker/update-binfmts
new file mode 100755
index 0000000000000000000000000000000000000000..e5a6d4d47c7668debf0cc2a087164e7f03b5d266
--- /dev/null
+++ b/worker/update-binfmts
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/sbin/update-binfmts.distrib "$@" || true