initial commit for docker dnsmasq and tailscale

This commit is contained in:
2025-03-27 22:30:52 -07:00
parent 0ff5b8a867
commit 3ddacad42a
5 changed files with 81 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
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=-"]