diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:55:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:55:53 +0000 |
commit | 3d0386f27ca66379acf50199e1d1298386eeeeb8 (patch) | |
tree | f87bd4a126b3a843858eb447e8fd5893c3ee3882 /ci/debian-unstable | |
parent | Initial commit. (diff) | |
download | knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.tar.xz knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.zip |
Adding upstream version 3.2.1.upstream/3.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ci/debian-unstable')
-rw-r--r-- | ci/debian-unstable/Dockerfile | 43 | ||||
-rw-r--r-- | ci/debian-unstable/README | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/ci/debian-unstable/Dockerfile b/ci/debian-unstable/Dockerfile new file mode 100644 index 0000000..19315d9 --- /dev/null +++ b/ci/debian-unstable/Dockerfile @@ -0,0 +1,43 @@ +FROM debian:unstable +MAINTAINER Knot Resolver <knot-resolver@labs.nic.cz> +ARG KNOT_BRANCH=2.7 + +WORKDIR /root +CMD ["/bin/bash"] + +# generic cleanup +RUN apt-get update -qq +RUN apt-get upgrade -y -qqq + +# Knot and Knot Resolver dependecies +RUN apt-get install -y -qqq make cmake pkg-config git 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-sec lua-socket lua-http + +# build and install latest version of Knot DNS +# (kresd depends on libknot and libdnssec) +RUN git clone --depth=1 --branch=$KNOT_BRANCH https://gitlab.labs.nic.cz/knot/knot-dns.git /tmp/knot +WORKDIR /tmp/knot +RUN pwd +RUN autoreconf -if +RUN ./configure --prefix=/usr +RUN make +RUN make install +RUN ldconfig + +# Valgrind for kresd CI +RUN apt-get install valgrind wget -y -qqq +RUN wget https://raw.githubusercontent.com/LuaJIT/LuaJIT/v2.0.4/src/lj.supp -O /lj.supp +# TODO: rebuild LuaJIT with Valgrind support + +# Lua lint for kresd CI +RUN apt-get install luarocks -y -qqq +RUN luarocks install luacheck + +# code coverage +RUN apt-get install -y -qqq lcov +RUN luarocks install luacov + +# LuaJIT binary for stand-alone scripting +RUN apt-get install -y -qqq luajit + +# clang for kresd CI, version updated as debian updates it +RUN apt-get install -y -qqq clang clang-tools clang-tidy diff --git a/ci/debian-unstable/README b/ci/debian-unstable/README new file mode 100644 index 0000000..4dbcd40 --- /dev/null +++ b/ci/debian-unstable/README @@ -0,0 +1 @@ +Docker image based on debian-unstable specifically for newer Clang. |