1
0
mirror of https://github.com/daniviga/bite.git synced 2024-12-23 16:51:25 +01:00
bite/docker/ntpd/Dockerfile.enc
Daniele Viganò 762605c5c4
Add testing suite (#18)
* Add some tests

* Add an example of NTP with encryption

* Enable TravisCI

* Run sims via Docker

* Improve simulators stage

* Final fix for travis

* Add README docs [skip ci]
2020-06-20 14:41:50 +02:00

10 lines
202 B
Docker

FROM daniviga/ntpd
COPY ./chrony.keys /etc/chrony/chrony.keys
RUN echo "keyfile /etc/chrony/chrony.keys" \
>> /etc/chrony/chrony.conf
EXPOSE 123/udp
ENTRYPOINT ["chronyd", "-d", "-s", "-x"]