diff --git a/Dockerfile b/Dockerfile
index 73c7ba911f5fb47aa23700d151c6cca303b84e42..7f57eb926273fc41abc4cc677d40420d1698a15b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,7 @@ ENV BUILD_PKGS \
     gcc \
     git-core \
     libedit-dev \
+    libelf-dev \
     libfstrm-dev \
     libgnutls28-dev \
     libidn2-0-dev \
@@ -34,6 +35,7 @@ RUN autoreconf -if && \
                 --with-storage=/storage \
                 --with-configdir=/config \
                 --with-module-dnstap=yes \
+                --enable-xdp=yes \
                 --disable-fastparser \
                 --disable-static \
                 --disable-documentation && \
@@ -46,7 +48,9 @@ MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
 
 # Environment
 ENV RUNTIME_PKGS \
+    iproute2 \
     libedit2 \
+    libelf1 \
     libfstrm0 \
     libgnutls30 \
     libidn2-0 \