Initial commit
Some checks failed
Update Docker Hub Description / dockerHubDescription (push) Failing after 33s
Docker Image CI / Build Docker Image To Dockerhub (push) Failing after 24s

This commit is contained in:
2025-11-10 21:44:17 +01:00
committed by GianLuca Vagnuzzi
commit a422ca950e
12 changed files with 992 additions and 0 deletions

36
Dockerfile Normal file
View File

@@ -0,0 +1,36 @@
## https://hub.docker.com/_/debian/tags
FROM debian:13.1-slim
## https://packages.debian.org/search?keywords=bind9
ENV bind9V="bind9=1:9.20.15-1~deb13u1"
LABEL org.opencontainers.image.authors="rardcode <vagnu00#gmx.com>"
LABEL Description="Bind9 server based on Debian."
ARG DEBIAN_FRONTEND=noninteractive
RUN set -xe && \
: "---------- ESSENTIAL packages INSTALLATION ----------" \
&& apt-get -q -y update \
&& apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install \
apt-utils \
rsync \
procps \
&& apt-get -q -y autoremove \
&& apt-get -q -y clean \
&& rm -rf /var/lib/apt/lists/*
RUN set -xe && \
: "---------- SPECIFIC packages INSTALLATION ----------" \
&& apt-get -q -y update \
&& apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install \
$bind9V \
&& apt-get -q -y autoremove \
&& apt-get -q -y clean \
&& rm -rf /var/lib/apt/lists/*
ADD rootfs /
ENTRYPOINT ["/entrypoint.sh"]
#CMD ["/usr/sbin/dhcpd -4 -f -d --no-pid -cf /etc/dhcp/dhcpd.conf -lf /etc/dhcp/dhcpd.leases -user dhcpd -group dhcpd"]