Add ntp time source and browser policy
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# 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 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"]
|
||||
Reference in New Issue
Block a user