]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/debian-*/Dockerfile: fix build with KNOT_BRANCH=master
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 15 Jul 2021 17:27:12 +0000 (19:27 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 16 Jul 2021 09:37:32 +0000 (11:37 +0200)
The go stuff probably never worked on buster and we just forgot to test.

ci/debian-11/Dockerfile
ci/debian-buster/Dockerfile

index 5caf9addf956258323fef5bd32be2bf5207f43f1..5f2a51131a022b02530d2e9952bf6d92d9d395de 100644 (file)
@@ -16,7 +16,7 @@ RUN apt-get update -qq
 RUN apt-get install -y -qqq git make cmake pkg-config meson \
        build-essential bsdmainutils libtool autoconf libcmocka-dev \
        liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev \
-       libelf-dev libidn11-dev libuv1-dev \
+       libelf-dev libmnl-dev libidn11-dev libuv1-dev \
        libluajit-5.1-dev lua-http libssl-dev libnghttp2-dev
 
 # Build and testing deps for Resolver's dnstap module (go stuff is just for testing)
index bc215c28aeab850e0f55fd536dfe5fed6a5d1700..62649350639f7d389a4c6e174b3aa9decc5daa02 100644 (file)
@@ -18,14 +18,16 @@ RUN apt-get update -qq
 RUN apt-get install -y -qqq git make cmake pkg-config meson \
        build-essential bsdmainutils libtool autoconf libcmocka-dev \
        liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev \
-       libelf-dev libidn11-dev libuv1-dev \
+       libelf-dev libmnl-dev libidn11-dev libuv1-dev \
        libluajit-5.1-dev lua-http libssl-dev libnghttp2-dev
 
 # Build and testing deps for Resolver's dnstap module (go stuff is just for testing)
 RUN apt-get install -y -qqq \
        protobuf-c-compiler libprotobuf-c-dev libfstrm-dev \
        golang-any
-RUN bash -c "go get github.com/{FiloSottile/gvt,cloudflare/dns,dnstap/golang-dnstap}"
+# Some stuff won't work on buster:
+# package crypto/ed25519: unrecognized import path "crypto/ed25519"
+#RUN bash -c "go get github.com/{FiloSottile/gvt,cloudflare/dns,dnstap/golang-dnstap}"
 
 # documentation dependecies
 RUN apt-get install -y -qqq doxygen python3-sphinx python3-breathe python3-sphinx-rtd-theme