mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-06 16:18:00 +08:00
16 lines
427 B
Plaintext
16 lines
427 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 org.opencontainers.image.authors="Brian Cunnie <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"]
|