Files
11note-docker-ntp/Dockerfile
2018-08-17 13:12:57 +02:00

13 lines
256 B
Docker

# ------ HEADER ------ #
FROM alpine:3.8
# ------ RUN ------ #
RUN apk --update --no-cache add openntpd
ADD ./ntpd.conf /etc/ntpd.conf
# ------ VOLUMES ------ #
VOLUME ["/etc/ntp"]
# ------ CMD/START/STOP ------ #
ENTRYPOINT ["/usr/sbin/ntpd", "-dvS"]