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

Dockerfile 497B

123456789101112131415161718192021222324252627
  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. isc-dhcp-server &&\
  6. apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  7. RUN rm -rf /var/log/*
  8. COPY ./vars-vars /etc/vars-vars
  9. COPY ./vars-files /etc/vars-files
  10. COPY ./common.sh /common.sh
  11. COPY ./run.sh /run.sh
  12. RUN mkdir "${CONFIG_DIR}"
  13. COPY ./config "${CONFIG_DIR}"
  14. EXPOSE 80
  15. CMD ["/run.sh"]