Update debian version to bookworm.

This commit is contained in:
yohan 2024-09-28 11:24:53 +00:00
parent 6fe4f75331
commit 432924fb0b

View File

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