You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 489B

123456789101112131415161718192021222324252627
  1. FROM debian: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 dhcpd.conf "${CONFIG_DIR}"/dhcpd.conf
  14. EXPOSE 80
  15. CMD ["/run.sh"]