您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Dockerfile 536B

1234567891011121314151617181920212223242526272829
  1. FROM robinthoni/debian-multiarch:jessie
  2. MAINTAINER Robin Thoni <robin@rthoni.com>
  3. ARG CONFIG_DIR=/etc/default/config-files/
  4. RUN apt-get update && apt-get -y install\
  5. bind9\
  6. dnsutils\
  7. bind9utils &&\
  8. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  9. RUN rm -rf /var/log/*
  10. COPY ./vars-vars /etc/vars-vars
  11. COPY ./vars-files /etc/vars-files
  12. COPY ./common.sh /common.sh
  13. COPY ./run.sh /run.sh
  14. RUN mkdir "${CONFIG_DIR}"
  15. COPY ./config "${CONFIG_DIR}"
  16. EXPOSE 53/udp 53/tcp
  17. CMD ["/run.sh"]