]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
Dockerfile: enable XDP
authorDaniel Salzman <daniel.salzman@nic.cz>
Fri, 5 Feb 2021 11:30:42 +0000 (12:30 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Fri, 5 Feb 2021 11:30:47 +0000 (12:30 +0100)
Dockerfile

index 73c7ba911f5fb47aa23700d151c6cca303b84e42..7f57eb926273fc41abc4cc677d40420d1698a15b 100644 (file)
@@ -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 \