Cleaned up a bit and switched to Debian 10
This commit is contained in:
parent
f84e3707f1
commit
4b5cbdc6fb
@ -1,5 +1,7 @@
|
||||
FROM alpine:3
|
||||
RUN apk add openntpd && mkdir -m 1777 /var/empty/tmp
|
||||
FROM debian:10-slim
|
||||
RUN apt-get update && apt-get -y install openntpd \
|
||||
&& mkdir /var/run/openntpd \
|
||||
&& apt-get clean
|
||||
COPY ./ntpd.conf /etc/ntpd.conf
|
||||
EXPOSE 123/udp
|
||||
ENTRYPOINT ["/usr/sbin/ntpd", "-d", "-f", "/etc/ntpd.conf"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user