1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-23 13:26:14 +01:00
bite/docker/ntpd/Dockerfile

9 lines
198 B
Docker
Raw Normal View History

FROM alpine:3.9
RUN apk update && apk add chrony && \
chown -R chrony:chrony /var/lib/chrony
COPY ./chrony.conf /etc/chrony/chrony.conf
EXPOSE 123/udp
ENTRYPOINT ["chronyd", "-d", "-s", "-x"]