From: Vladimír Čunát Date: Tue, 20 Oct 2020 08:55:06 +0000 (+0200) Subject: ci: use docker image with XDP support X-Git-Tag: v5.2.0~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055fc3811051cb445160acd168d1f2985df69916;p=thirdparty%2Fknot-resolver.git ci: use docker image with XDP support --- diff --git a/ci/debian-buster/Dockerfile b/ci/debian-buster/Dockerfile index 131e9448b..3d112ff57 100644 --- a/ci/debian-buster/Dockerfile +++ b/ci/debian-buster/Dockerfile @@ -2,6 +2,7 @@ FROM debian:buster MAINTAINER Knot Resolver +# >= 3.0 needed because of --enable-xdp=yes ARG KNOT_BRANCH=3.0 ENV DEBIAN_FRONTEND=noninteractive @@ -14,7 +15,7 @@ RUN apt-get update -qq # RUN apt-get upgrade -y -qqq # Knot and Knot Resolver dependecies -RUN apt-get install -y -qqq git make cmake pkg-config build-essential bsdmainutils libtool autoconf liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev libidn11-dev protobuf-c-compiler libfstrm-dev libuv1-dev libcmocka-dev libluajit-5.1-dev lua-http meson libssl-dev libnghttp2-dev +RUN apt-get install -y -qqq git make cmake pkg-config build-essential bsdmainutils libtool autoconf liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev libidn11-dev protobuf-c-compiler libfstrm-dev libuv1-dev libcmocka-dev libluajit-5.1-dev lua-http meson libssl-dev libnghttp2-dev libelf-dev # documentation dependecies RUN apt-get install -y -qqq doxygen python3-sphinx python3-breathe python3-sphinx-rtd-theme @@ -46,7 +47,7 @@ RUN git clone --depth=1 --branch=$KNOT_BRANCH https://gitlab.nic.cz/knot/knot-dn WORKDIR /tmp/knot RUN pwd RUN autoreconf -if -RUN ./configure --prefix=/usr +RUN ./configure --prefix=/usr --enable-xdp=yes RUN CFLAGS="-g" make RUN make install RUN ldconfig