Skip to content
Snippets Groups Projects
Commit e7527116 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

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

parent 8572da0c
No related branches found
No related tags found
No related merge requests found
FROM debian:jessie FROM debian:jessie
MAINTAINER Marek Vavrusa <marek.vavrusa@nic.cz> MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
# Select entrypoint # Select entrypoint
WORKDIR /root WORKDIR /root
...@@ -10,8 +10,9 @@ EXPOSE 53 ...@@ -10,8 +10,9 @@ EXPOSE 53
# Environment # Environment
ENV THREADS 4 ENV THREADS 4
ENV BUILD_PKGS git-core make gcc libtool autoconf pkg-config ENV BUILD_PKGS git-core make gcc libtool autoconf pkg-config \
ENV RUNTIME_PKGS liburcu-dev liblmdb-dev libgnutls28-dev libjansson-dev 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 # Install dependencies and sources
RUN apt-get -q -y update && \ RUN apt-get -q -y update && \
...@@ -20,7 +21,7 @@ apt-get install -q -y ${BUILD_PKGS} ${RUNTIME_PKGS} && \ ...@@ -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 && \ git clone -b master https://gitlab.labs.nic.cz/labs/knot.git /knot-src && \
cd /knot-src && \ cd /knot-src && \
autoreconf -if && \ autoreconf -if && \
./configure --disable-static && \ ./configure --disable-static --enable-fastparser --disable-documentation && \
make -j${THREADS} && \ make -j${THREADS} && \
make install && \ make install && \
ldconfig && \ ldconfig && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment