docker-named/Dockerfile

8 lines
303 B
Docker
Raw Permalink Normal View History

2024-09-28 11:24:53 +00:00
FROM debian:bookworm
2024-09-28 10:28:51 +00:00
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
2024-09-28 11:24:53 +00:00
ENV TZ Europe/Paris
2024-09-28 10:28:51 +00:00
RUN apt-get update && apt-get -y install bind9
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
EXPOSE 53
2024-09-28 11:24:53 +00:00
ENTRYPOINT ["/usr/sbin/named", "-u", "bind", "-g"]