ARG VERSION
FROM registry.opensuse.org/opensuse/tumbleweed

VOLUME /config


RUN zypper --non-interactive install --no-recommends \
  dnsmasq \
  && zypper clean -a \
  rm /var/log/zypper.log

ENV TZ="Europe/Stockholm"
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["start"]