From e7527116277395c5546a3d8fb674765218a56f95 Mon Sep 17 00:00:00 2001 From: Jan Vcelak <jan.vcelak@nic.cz> Date: Thu, 8 Sep 2016 09:54:38 +0200 Subject: [PATCH] docker: fix depedencies, no -dev on runtime, with fastparser --- scripts/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 3299a5a99c..9c8de89dda 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -1,5 +1,5 @@ FROM debian:jessie -MAINTAINER Marek Vavrusa <marek.vavrusa@nic.cz> +MAINTAINER Knot DNS <knot-dns@labs.nic.cz> # Select entrypoint WORKDIR /root @@ -10,8 +10,9 @@ EXPOSE 53 # Environment ENV THREADS 4 -ENV BUILD_PKGS git-core make gcc libtool autoconf pkg-config -ENV RUNTIME_PKGS liburcu-dev liblmdb-dev libgnutls28-dev libjansson-dev +ENV BUILD_PKGS git-core make gcc libtool autoconf pkg-config \ + liburcu-dev liblmdb-dev libgnutls28-dev libjansson-dev libedit-dev libidn11-dev +ENV RUNTIME_PKGS liburcu2 liblmdb0 libgnutls-deb0-28 libjansson4 libedit2 libidn11 # Install dependencies and sources RUN apt-get -q -y update && \ @@ -20,7 +21,7 @@ apt-get install -q -y ${BUILD_PKGS} ${RUNTIME_PKGS} && \ git clone -b master https://gitlab.labs.nic.cz/labs/knot.git /knot-src && \ cd /knot-src && \ autoreconf -if && \ -./configure --disable-static && \ +./configure --disable-static --enable-fastparser --disable-documentation && \ make -j${THREADS} && \ make install && \ ldconfig && \ -- GitLab