From f143d94f9a665011ea0c621905499a77bf608a12 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 26 Feb 2022 01:03:13 +0100 Subject: [PATCH] chrony: New package to replace openntpd --- pkg/chrony/Dockerfile | 10 ++++++++++ pkg/chrony/build.yml | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 pkg/chrony/Dockerfile create mode 100644 pkg/chrony/build.yml diff --git a/pkg/chrony/Dockerfile b/pkg/chrony/Dockerfile new file mode 100644 index 0000000..5f59d3b --- /dev/null +++ b/pkg/chrony/Dockerfile @@ -0,0 +1,10 @@ +FROM alpine:3.15 +MAINTAINER Pierre-Olivier Mercier + +RUN apk add --no-cache chrony + +EXPOSE 123/udp + +CMD ["/usr/sbin/chronyd","-d"] + +LABEL org.mobyproject.config='{"capabilities": ["CAP_NET_BIND_SERVICE"]}' diff --git a/pkg/chrony/build.yml b/pkg/chrony/build.yml new file mode 100644 index 0000000..52bda48 --- /dev/null +++ b/pkg/chrony/build.yml @@ -0,0 +1,4 @@ +image: chrony +network: true +arches: +- x86_64