1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-30 00:26:13 +01:00
bite/docker/ntpd/Dockerfile
Daniele Viganò e4a3684951
Enable NTP (#6)
* Add ntpd server to the stack

* Enable NTP updates on Arduino

* Fix telemetry when clock is 0
2020-06-03 18:53:33 +02:00

9 lines
198 B
Docker

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"]