add nsd package

This commit is contained in:
nemunaire 2019-03-29 10:14:25 +01:00 committed by Pierre-Olivier Mercier
parent 02e0dc1eca
commit e48cdf9244
2 changed files with 16 additions and 0 deletions

15
pkg/nsd/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM alpine
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
RUN apk add --no-cache alpine-baselayout bash busybox nsd openssh openrc
VOLUME /etc/nsd
EXPOSE 53
EXPOSE 53/udp
RUN rc-update add nsd default && rc-update add sshd default
CMD ["/sbin/openrc", "default"]
LABEL org.mobyproject.config='{"binds": ["/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["CAP_NET_BIND_SERVICE"]}'

1
pkg/nsd/build.yml Normal file
View File

@ -0,0 +1 @@
image: nsd