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

18 lines
476 B
Docker
Raw Normal View History

2019-03-29 09:14:25 +00:00
FROM alpine
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
2019-03-29 12:13:15 +00:00
RUN apk add --no-cache alpine-baselayout bash busybox nsd openssh openssl openrc python2
2019-03-29 09:14:25 +00:00
VOLUME /etc/nsd
EXPOSE 53
EXPOSE 53/udp
RUN rc-update add nsd default && rc-update add sshd default
2019-03-29 09:52:29 +00:00
COPY init /etc/init.d/nsd
2019-04-19 19:09:26 +00:00
COPY sshd_config /etc/ssh/sshd_config
2019-03-29 09:14:25 +00:00
2019-03-29 09:52:29 +00:00
CMD ["/sbin/openrc-init"]
2019-03-29 09:14:25 +00:00
LABEL org.mobyproject.config='{"binds": ["/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["CAP_NET_BIND_SERVICE"]}'