mirror of
https://github.com/tailscale/tailscale.git
synced 2026-03-28 03:03:04 -04:00
This switches our gokrazy builds to use a new variant of cmd/gok called opinionated about using monorepos: https://github.com/bradfitz/monogok And with that, we can get rid of all the go.mod files and builddir forests under gokrazy/**. Updates #13038 Updates gokrazy/gokrazy#361 Change-Id: I9f18fbe59b8792286abc1e563d686ea9472c622d Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Tailscale Appliance
This is the definition of the Gokrazy Tailscale Appliance (tsapp) image. See the parent directory for context.
File contents
The config.json is a Gokrazy config.
The usr-dir.tar is a single symlink named bin pointing to /user. We write it to /usr/bin => /user so the Busybox ash shell's default $PATH includes /user, where the tailscale CLI is.
The builddir is the Gokrazy build environment, defining each program's go.mod.