Alpine 3.19, Tailscale 1.78.1. Use Tailscale toolchain for build.sh.
This commit is contained in:
Frank Edwards 2024-12-24 15:04:40 +10:00
parent 6b01356241
commit 6c753c6a73
3 changed files with 6 additions and 5 deletions

View file

@ -58,7 +58,7 @@ RUN GOARCH=$TARGETARCH go install -ldflags="-w -s\
RUN upx /go/bin/tailscale && upx /go/bin/tailscaled
FROM alpine:3.18
FROM alpine:3.19
RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables bash openssh curl jq

View file

@ -130,7 +130,7 @@ Using the file `tailscale.tar` generated by running `build.sh`, upload the file
If you want to see the container output in the router log add `logging=yes` to the container add command.
6b. Tar archive file (routers without external storage)
6c. Tar archive file (routers without external storage)
For routers without USB port (tested on hAP ax2) it's possible to use ramdisk to temporary store `tailscale.tar` file.

View file

@ -26,9 +26,9 @@
# Set PLATFORM as required for your router model. See:
# https://mikrotik.com/products/matrix
#
PLATFORM="linux/arm64"
TAILSCALE_VERSION=1.74.0
VERSION=0.1.32
PLATFORM="linux/amd64"
TAILSCALE_VERSION=1.78.1
VERSION=0.1.33
set -eu
@ -39,6 +39,7 @@ then
git -c advice.detachedHead=false clone https://github.com/tailscale/tailscale.git --branch v$TAILSCALE_VERSION
fi
TS_USE_TOOLCHAIN="Y"
cd tailscale && eval $(./build_dist.sh shellvars) && cd ..
docker buildx build \