FROM robinthoni/debian-multiarch:jessie MAINTAINER Robin Thoni ARG CONFIG_DIR=/etc/default/config-files/ RUN apt-get update && apt-get -y install\ isc-dhcp-server &&\ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN rm -rf /var/log/* COPY ./vars-vars /etc/vars-vars COPY ./vars-files /etc/vars-files COPY ./common.sh /common.sh COPY ./run.sh /run.sh RUN mkdir "${CONFIG_DIR}" COPY ./config "${CONFIG_DIR}" EXPOSE 80 CMD ["/run.sh"]