contrib/docker: update to BIND 9.13.4 and support SIGTERM

parent 2e4ab233
FROM ubuntu:latest
MAINTAINER Knot Resolver <knot-resolver@labs.nic.cz>
ARG GIT_TAG=v9_13_2
ARG GIT_TAG=v9_13_4
RUN apt-get update -qq
RUN apt-get upgrade -y -qqq
RUN apt-get install -y -qqq git build-essential make libssl-dev
RUN apt-get install -y -qqq git build-essential make libssl-dev python3 python3-ply python3-dnspython
RUN git clone --depth 1 --branch=$GIT_TAG https://gitlab.isc.org/isc-projects/bind9.git /var/opt/bind9
WORKDIR /var/opt/bind9
RUN ./configure --disable-backtrace --disable-symtable --with-libtool --enable-full-report --without-lmdb --without-zlib --without-gssapi --without-libxml2 --without-dlopen --disable-linux-caps
RUN make
CMD /var/opt/bind9/bin/named/named -c /etc/bind9/named.conf -f
ENTRYPOINT ["/var/opt/bind9/bin/named/named", "-c", "/etc/bind9/named.conf", "-f"]
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