# Kea DHCPv4 workload image (kea-dhcp4 + kea-ctrl-agent + HA/lease hooks). # ISC publishes no official Kea container, so we build our own from AlmaLinux, # which is already reachable through the artifactapi dockerhub remote # (^library/almalinux). The kea packages come from EPEL; the HA hook # (libdhcp_ha.so) and lease_cmds hook ship open-source since Kea 2.4. # # NOTE: this build needs EPEL package access. If the CI build network cannot # reach EPEL mirrors, add an artifactapi rpm remote for EPEL (see repo README # follow-ups) and point dnf at it. FROM almalinux:9 RUN dnf -y install epel-release \ && dnf -y install kea kea-hooks \ && dnf clean all \ && rm -rf /var/cache/dnf \ && mkdir -p /var/run/kea EXPOSE 67/udp 8000/tcp # Command is supplied by the operator (per-container entrypoint scripts). CMD ["/usr/sbin/kea-dhcp4", "-c", "/etc/kea/kea-dhcp4.conf"]