mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-27 09:30:21 +08:00
- 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.
16 lines
390 B
Plaintext
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"]
|