dnsmasq/Dockerfile
2023-04-13 14:45:03 +02:00

16 lines
352 B
Docker

ARG VERSION
FROM registry.opensuse.org/opensuse/tumbleweed:${VERSION}
VOLUME /config
RUN zypper --non-interactive install --no-recommends \
dnsmasq \
&& zypper clean -a \
rm /var/log/zypper.log
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["start"]