Aggiunto kea-dhcp-server
Some checks failed
Update Docker Hub Description / dockerHubDescription (push) Failing after 2s
Some checks failed
Update Docker Hub Description / dockerHubDescription (push) Failing after 2s
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
FROM debian:13.2-slim
|
||||
|
||||
## https://github.com/isc-projects/dhcp/tags
|
||||
ENV dhcpV="isc-dhcp-server=4.4.3-P1-8"
|
||||
ENV dhcpV4="kea-dhcp4-server=2.6.3-1"
|
||||
ENV dhcpV6="kea-dhcp6-server=2.6.3-1"
|
||||
|
||||
LABEL org.opencontainers.image.authors="rardcode <vagnu00@gmx.com>"
|
||||
LABEL Description="Dhcp server based on Debian."
|
||||
@@ -28,7 +29,7 @@ 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 \
|
||||
$dhcpV \
|
||||
$dhcpV4 $dhcpV6 \
|
||||
&& apt-get -q -y autoremove \
|
||||
&& apt-get -q -y clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -36,6 +37,4 @@ RUN set -xe && \
|
||||
ADD rootfs /
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["/usr/sbin/dhcpd", "-4", "-f", "-d", "--no-pid", "-cf", "/data/dhcpd4.conf", "-lf", "/data/dhcpd4.leases", "-user", "dhcpd", "-group", "dhcpd"]
|
||||
|
||||
|
||||
CMD ["kea-dhcp4", "-c", "/var/lib/kea/kea-dhcp4.conf"]
|
||||
|
||||
Reference in New Issue
Block a user