Commit 46abdd39 authored by Daniel Salzman's avatar Daniel Salzman

Dockerfile: update distro, ports, and dependencies

Thanks to Andrew Latham!
parent dd2aaee6
FROM debian:jessie
FROM debian:stable-slim
MAINTAINER Knot DNS <knot-dns@labs.nic.cz>
# Select entrypoint
......@@ -6,13 +6,13 @@ WORKDIR /root
CMD ["/usr/local/sbin/knotd"]
# Expose port
EXPOSE 53
EXPOSE 53/UDP 53/TCP
# Environment
ENV THREADS 4
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
ENV BUILD_PKGS git-core make gcc libtool autoconf pkg-config liburcu-dev \
liblmdb-dev libgnutls28-dev libedit-dev libidn11-dev
ENV RUNTIME_PKGS liburcu4 liblmdb0 libgnutls30 libedit2 libidn11
# Install dependencies and sources
RUN apt-get -q -y update && \
......
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