add nsd package
This commit is contained in:
parent
02e0dc1eca
commit
e48cdf9244
15
pkg/nsd/Dockerfile
Normal file
15
pkg/nsd/Dockerfile
Normal 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
1
pkg/nsd/build.yml
Normal file
|
@ -0,0 +1 @@
|
|||
image: nsd
|
Reference in New Issue
Block a user