diff --git a/containers/mikrotik-tailscale/Dockerfile b/containers/mikrotik-tailscale/Dockerfile index 7e2d421..b24374e 100644 --- a/containers/mikrotik-tailscale/Dockerfile +++ b/containers/mikrotik-tailscale/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.20 +FROM alpine:latest # Install all dependencies at build time, not runtime RUN apk add --no-cache \ diff --git a/containers/mikrotik-tailscale/start-tailscale.sh b/containers/mikrotik-tailscale/start-tailscale.sh index 40404b9..3d7fb9a 100644 --- a/containers/mikrotik-tailscale/start-tailscale.sh +++ b/containers/mikrotik-tailscale/start-tailscale.sh @@ -7,6 +7,12 @@ echo "Setting Tailscale ARGS: $set" echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv6/conf/all/forwarding + +# Enable Tailscale updates +# tailscale update --yes +# apk update +# apk upgrade --no-cache + # Enable NAT masquerading if requested (nat=true|yes|1) case "${nat:-}" in true|yes|1) @@ -36,6 +42,7 @@ if [ -z "${up}" ] && [ -z "${set}" ] && [ -z "${nat}" ]; then echo "No 'up' or 'set' options provided" echo "Use /container/shell CONTAINER to access the shell of this container" echo "I hope you use a mountpoint for /var/lib/tailscale for persistence" + echo "or update the container by uncommenting the update lines above" echo "Uncomment the line below to run iptables -t nat -A POSTROUTING -o tailscale0 -j MASQUERADE at startup if you need NAT" # iptables -t nat -A POSTROUTING -o tailscale0 -j MASQUERADE fi