This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
adlin/pkg/nsd/Dockerfile
2020-02-21 01:40:15 +01:00

17 lines
430 B
Docker

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