-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM debian:jessie | ||
|
||
MAINTAINER Cyprien DIOT <[email protected]> | ||
|
||
RUN apt-get update && apt-get install -y openntpd && apt-get clean && rm -rf /var/lib/dpkg/* && rm -rf /var/lib/apt/lists/* | ||
|
||
ENTRYPOINT [ "/usr/sbin/openntpd", "-d", "-f", "/etc/openntpd/ntpd.conf" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## Docker-OpenNTPD | ||
|
||
This container starts a OpenNTPD server to serve time. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ | ||
# sample ntpd configuration file, see ntpd.conf(5) | ||
|
||
# Addresses to listen on (ntpd does not listen by default) | ||
#listen on * | ||
#listen on 127.0.0.1 | ||
#listen on ::1 | ||
|
||
# sync to a single server | ||
#server ntp.example.org | ||
|
||
# use a random selection of 8 public stratum 2 servers | ||
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers | ||
#servers pool.ntp.org | ||
|
||
# Choose servers announced from Debian NTP Pool | ||
servers 0.debian.pool.ntp.org | ||
servers 1.debian.pool.ntp.org | ||
servers 2.debian.pool.ntp.org | ||
servers 3.debian.pool.ntp.org | ||
|