- amd64
test:linux:amd64:valgrind:
- image: cznic/ubuntu-valgrind:16.04
stage: test
script:
- PREFIX=$(pwd)/.local DEBUGGER="valgrind --error-exitcode=1 --leak-check=full --trace-children=yes --quiet" make -k check
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 apt-get install -y -qqq valgrind python3 python3-dev python3-jinja2 python3-pip python3-yaml libffi-dev libaugeas-dev
+RUN pip3 install --upgrade pip
+RUN pip3 install --user dnspython python-augeas
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
+++ /dev/null
-FROM cznic/ubuntu:16.04
-MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
-
-WORKDIR /root
-CMD ["/bin/bash"]
-
-# name: cznic/ubuntu-valgrind:16.04
-# run ci tests with valgrind memory checks
-RUN apt-get update
-RUN apt-get upgrade -y
-RUN apt-get install -y valgrind