From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Fri, 29 Dec 2023 17:32:45 +0000 (+0100) Subject: enable doq and doh3 in dockerfile-dnsdist X-Git-Tag: auth-4.9.0-alpha1~13^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a5fe19458bd0d9c81ef4cab65cd99b98dec9ab4;p=thirdparty%2Fpdns.git enable doq and doh3 in dockerfile-dnsdist --- diff --git a/Dockerfile-dnsdist b/Dockerfile-dnsdist index e89215d40b..c9cf09a94e 100644 --- a/Dockerfile-dnsdist +++ b/Dockerfile-dnsdist @@ -47,6 +47,12 @@ RUN mkdir /libh2o && cd /libh2o && \ CFLAGS='-fPIC' cmake -DWITH_PICOTLS=off -DWITH_BUNDLED_SSL=off -DWITH_MRUBY=off -DCMAKE_INSTALL_PREFIX=/opt ./h2o-2.2.6-pdns2 && \ make install +RUN mkdir /quiche && cd /quiche && \ + apt-get install -y libclang-dev && \ + apt-get clean && \ + /source/builder-support/helpers/install_rust.sh && \ + /source/builder-support/helpers/install_quiche.sh + RUN mkdir /build && \ LUAVER=$([ -z "${NO_LUA_JIT##*$(dpkg --print-architecture)*}" ] && echo 'lua5.3' || echo 'luajit') && \ ./configure \ @@ -59,10 +65,16 @@ RUN mkdir /build && \ --enable-dns-over-https \ --with-re2 \ --with-h2o \ + --enable-dns-over-quic \ + --enable-dns-over-http3 \ + --with-quiche \ PKG_CONFIG_PATH=/opt/lib/pkgconfig && \ make clean && \ make $MAKEFLAGS install DESTDIR=/build && make clean && \ - strip /build/usr/local/bin/* + strip /build/usr/local/bin/* &&\ + mkdir -p /build/usr/lib/ && \ + cp -rf /usr/lib/libdnsdist-quiche.so /build/usr/lib/ + RUN cd /tmp && mkdir /build/tmp/ && mkdir debian && \ echo 'Source: docker-deps-for-pdns' > debian/control && \ dpkg-shlibdeps /build/usr/local/bin/dnsdist && \