From: Daniel Salzman Date: Tue, 29 Jul 2025 16:30:55 +0000 (+0200) Subject: docker X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdocker-python;p=thirdparty%2Fknot-dns.git docker --- diff --git a/Dockerfile b/Dockerfile index cdf865d937..d688fbe31b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,9 @@ ENV BUILD_PKGS=" \ libxdp-dev \ make \ pkg-config \ - protobuf-c-compiler" + protobuf-c-compiler \ + python3 \ + python3-setuptools" # Install dependencies RUN apt-get update && \ @@ -46,7 +48,8 @@ RUN autoreconf -if && \ --enable-dnstap \ --disable-static \ --disable-documentation && \ - make -j$(grep -c ^processor /proc/cpuinfo) + make -j$(grep -c ^processor /proc/cpuinfo) && \ + make -C python dist # Run unittests if requested and install the project ARG CHECK=disable @@ -73,7 +76,8 @@ ENV RUNTIME_PKGS=" \ libngtcp2-16 \ libprotobuf-c1 \ liburcu8t64 \ - libxdp1" + libxdp1 \ + python3" # Install dependencies and create knot user and group ARG UID=53