Commit c78becca authored by nimrod's avatar nimrod
Browse files

- Use Knot resolver instead of Unbound (results in smaller image but nothing...

- Use Knot resolver instead of Unbound (results in smaller image but nothing more, updated to Stretch).
parent 804d4d62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
    apt-get install -y unbound unbound-host dnsutils dma bsd-mailx
    apt-get install -y knot-dnsutils knot-host knot-resolver dma bsd-mailx
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash", "--login"]
+1 −1
Original line number Diff line number Diff line
#!/bin/sh
set -eu
service unbound start
service kresd start
echo 'nameserver 127.0.0.1' > /etc/resolv.conf
exec $@