diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 3299a5a99c082c131383b25e8f7257a0077a0f18..9c8de89ddace9f0a4f688ae6e6e03ead00700849 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 && \