bind/Dockerfile

10 lines
208 B
Docker
Raw Normal View History

2021-10-04 16:48:21 +00:00
FROM alpine
RUN apk add --no-cache bind
RUN mkdir /var/cache/bind
RUN chown nobody:nobody /var/cache/bind
COPY entrypoint.sh /entrypoint.sh
CMD /entrypoint.sh
VOLUME ["/etc/bind"]
EXPOSE 53/udp
EXPOSE 53/tcp