]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Add new Dockerfile for CI based on debian.
authorŠtěpán Kotek <stepan.kotek@nic.cz>
Wed, 11 Oct 2017 06:49:22 +0000 (08:49 +0200)
committerŠtěpán Kotek <stepan.kotek@nic.cz>
Wed, 11 Oct 2017 06:49:22 +0000 (08:49 +0200)
.gitlab-ci.yml
ci/Dockerfile [new file with mode: 0644]

index 52ede0b532661692b636b3afedabccecfacc1d33..832fbbba8fc9a9ace28a1aae6156ff3ab5909927 100644 (file)
@@ -1,4 +1,4 @@
-image: cznic/ubuntu:16.04
+image: cznic/ci-debian-kresd
 
 variables:
   DEBIAN_FRONTEND: noninteractive
diff --git a/ci/Dockerfile b/ci/Dockerfile
new file mode 100644 (file)
index 0000000..28d7c57
--- /dev/null
@@ -0,0 +1,13 @@
+FROM debian:stable
+MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
+
+WORKDIR /root
+CMD ["/bin/bash"]
+
+# name: cznic/ci-debian-kresd
+RUN apt-get update -qq
+RUN apt-get install -y -qqq apt-utils
+RUN apt-get upgrade -y -qqq
+RUN apt-get install -y -qqq make cmake pkg-config git build-essential bsdmainutils libtool autoconf make pkg-config liburcu-dev libgnutls28-dev libedit-dev liblmdb-dev libcap-ng-dev libsystemd-dev libidn11-dev protobuf-c-compiler libfstrm-dev pkg-config libknot-dev libuv1-dev libcmocka-dev libluajit-5.1-dev # dependencies for knot-resolver
+RUN git clone https://gitlab.labs.nic.cz/knot/knot-dns.git /tmp/knot
+RUN cd /tmp/knot && autoreconf -if && ./configure && make && make install && ldconfig