16 lines
402 B
Docker
16 lines
402 B
Docker
|
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"]}'
|