Files
local-dns-docker/Dockerfile

14 lines
337 B
Docker

FROM ubuntu:22.04
RUN apt-get update && apt-get install -y dnsmasq curl
# Install Tailscale
RUN curl -fsSL https://tailscale.com/install.sh | sh
COPY dnsmasq.conf /etc/dnsmasq.conf
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["dnsmasq", "--keep-in-foreground", "--log-facility=-"]