Defined CMD in Dockerfile; ENTRYPOINT now supports user-provided commands
All checks were successful
Update Docker Hub Description / dockerHubDescription (push) Successful in 12s

This commit is contained in:
GianLuca Vagnuzzi
2026-01-02 08:21:38 +01:00
parent 6fc798aa9c
commit aef0ae4dea
4 changed files with 63 additions and 25 deletions

View File

@@ -36,4 +36,6 @@ RUN set -xe && \
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"]
CMD ["/usr/sbin/dhcpd", "-4", "-f", "-d", "--no-pid", "-cf", "/data/dhcpd4.conf", "-lf", "/data/dhcpd4.leases", "-user", "dhcpd", "-group", "dhcpd"]