mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-03 07:55:05 +00:00
Add openntpd container
Added to Docker example as Swarm mode likes time sync. Note uses pool.ntp.org at present, on some providers it should use a different source. Constraints not enabled as they seem to have an issue; possibly trying to set before network is up. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
11
pkg/openntpd/Dockerfile
Normal file
11
pkg/openntpd/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM alpine:3.5
|
||||
|
||||
RUN \
|
||||
apk update && apk upgrade -a && \
|
||||
apk add --no-cache \
|
||||
openntpd \
|
||||
&& true
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["/usr/sbin/ntpd", "-d", "-s"]
|
Reference in New Issue
Block a user