Files
2026-06-19 04:00:47 +00:00

10 lines
579 B
Docker

# Minimal chrony NTP server for the lab boot LAN. Diskless workstations get this
# host as their time source via DHCP option 42 (dnsmasq), so they never reach the
# public NTP pool (no workstation egress). Config is bind-mounted from
# chrony.conf in docker-compose.yml. Build our own so the version is pinned.
FROM harbor.bitasylum.org/dockerhub/library/alpine:3.20
RUN apk add --no-cache chrony
# -d: run in the foreground (don't daemonise) so the container stays up and logs
# to stdout for `docker compose logs`.
ENTRYPOINT ["chronyd", "-d", "-f", "/etc/chrony/chrony.conf"]