diff --git a/pandoc/Dockerfile b/pandoc/Dockerfile
index ed5daa13b7098f72384d28216e32ffd2cbcc9961..b9671c65073cb0f9e6909603d48bb8ff5ce84ab0 100644
--- a/pandoc/Dockerfile
+++ b/pandoc/Dockerfile
@@ -7,7 +7,7 @@ RUN tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet \
     tlmgr update \
     && tlmgr install csquotes mdframed needspace sourcesanspro ly1 mweights \
     sourcecodepro titling pagecolor epstopdf zref footnotebackref beamertheme-metropolis \
-    pgfopts \
+    pgfopts subfig \
     && apk add --update ghostscript
 
 # Install Node and mermaid-filter