FROM alpine:latest COPY ./run.sh /opt/run.sh RUN set -xe \ && apk add --no-cache dhcp \ && chmod +x /opt/run.sh VOLUME ["/etc/dhcp", "/var/lib/dhcp"] CMD ["/opt/run.sh"]