Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
FROM debian:jessie FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \ 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 COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash", "--login"] CMD ["/bin/bash", "--login"]
#!/bin/sh #!/bin/sh
set -eu set -eu
service unbound start service kresd start
echo 'nameserver 127.0.0.1' > /etc/resolv.conf echo 'nameserver 127.0.0.1' > /etc/resolv.conf
exec $@ exec $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment