Files
nip/k8s/Dockerfile-ntp
Brian Cunnie 27835a030f GKE: Cluster is now an NTP server!
- Much of the information was from this blog post:
  <https://goglides.io/manage-ntp-using-kubernetes/90/>
- Curiously, it creates another load balancer, so this brings me up to
  three load balancers (HTTP(S)/DNS/NTP)
- It uses the OpenNTPD server. And ns-aws uses NTPsec, and ns-azure uses
  the granddaddy, NTP.
2021-07-07 12:30:50 -07:00

16 lines
390 B
Plaintext

#
# cunnie/sslip.io-ntp
#
# sslip.io NTP Dockerfile
#
# Much was from here: <https://goglides.io/manage-ntp-using-kubernetes/90/>
FROM alpine:3.11.3 AS sslip.io-ntp
LABEL maintainer="brian.cunnie@gmail.com"
RUN apk update
RUN apk add openntpd
RUN mkdir -m 1777 /var/empty/tmp
ADD ./entrypoint-ntp.sh ./entrypoint-ntp.sh
RUN chmod 755 ./entrypoint-ntp.sh
ENTRYPOINT ["./entrypoint-ntp.sh"]