diff --git a/apertis-image-builder/Dockerfile b/apertis-image-builder/Dockerfile
index 5bbe85f7bc8430760ff124c10d11a260cd1d9a83..60a8fde68a292540c0f966d62d470af96fbec35e 100644
--- a/apertis-image-builder/Dockerfile
+++ b/apertis-image-builder/Dockerfile
@@ -65,6 +65,7 @@ RUN apt-get update && \
         git \
         imx-code-signing-tool \
         jq \
+        kmod \
         libnss-wrapper \
         lqa \
         mtd-utils \
@@ -82,6 +83,10 @@ RUN apt-get update && \
         u-boot-tools \
         udev
 
+# Create /lib/modules as fakemachine will try to mount the uml modules at that
+# location
+RUN mkdir -p /lib/modules
+
 # FIXME: move to a packaged version
 RUN apt-get update  && \
     apt-get install --no-install-recommends -y busybox systemd-container debootstrap