pkg: add Unbound
This commit is contained in:
parent
43d1f56e71
commit
79f135a040
3 changed files with 29 additions and 0 deletions
15
pkg/unbound/Dockerfile
Normal file
15
pkg/unbound/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM alpine:3.7
|
||||
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
||||
|
||||
RUN apk add --no-cache unbound
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
VOLUME /etc/unbound
|
||||
|
||||
EXPOSE 53
|
||||
EXPOSE 53/udp
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["/usr/sbin/unbound", "-d"]
|
||||
|
||||
LABEL org.mobyproject.config='{"binds": ["/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["CAP_NET_BIND_SERVICE"]}'
|
Reference in a new issue