diff --git a/Dockerfile b/Dockerfile
index 9f6a55665024bf01f8977bbda37dbe182ac01c5d..cd6a61c8833a7dffb722d07af2d0e82602cc3638 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,7 @@
 FROM docker.io/alpine:3.12
 
+ARG TARGETARCH=amd64
+
 RUN echo $'\
 @edge http://dl-cdn.alpinelinux.org/alpine/edge/main\n\
 @edge http://dl-cdn.alpinelinux.org/alpine/edge/testing\n\
@@ -32,7 +34,12 @@ RUN apk add --no-cache \
       py3-pysocks \
       # Other dependencies
       ca-certificates \
-      su-exec
+      su-exec \
+      bash \
+      curl \
+      jq && \
+    curl -sLo yq https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_${TARGETARCH} && \
+    chmod +x yq && mv yq /usr/bin/yq
 
 COPY requirements.txt /opt/mautrix-facebook/requirements.txt
 COPY optional-requirements.txt /opt/mautrix-facebook/optional-requirements.txt