dnsmasq/Dockerfile

16 lines
352 B
Docker
Raw Permalink Normal View History

2023-04-13 12:45:03 +00:00
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"]