Commit e7527116 authored by Jan Včelák's avatar Jan Včelák 🚀

docker: fix depedencies, no -dev on runtime, with fastparser

parent 8572da0c
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 && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment