tailscale/gokrazy/tsapp
Brad Fitzpatrick 02581b1603 gokrazy,tstest/integration/nat: add Gokrazy appliance just for natlab
... rather than abusing the generic tsapp.

Per discussion in https://github.com/gokrazy/gokrazy/pull/275

It also means we can remove stuff we don't need, like ntp or randomd.

Updates #13038

Change-Id: Iccf579c354bd3b5025d05fa1128e32f1d5bde4e4
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-13 15:26:12 -07:00
..
builddir gokrazy/tsapp: remove builddirs packages that aren't in config.json 2024-08-13 10:32:43 -07:00
config.json gokrazy,tstest/integration/nat: add Gokrazy appliance just for natlab 2024-08-13 15:26:12 -07:00
README.md gokrazy: add prototype Tailscale appliance, build tooling, docs 2024-06-03 15:01:19 -07:00
usr-dir.tar gokrazy: add prototype Tailscale appliance, build tooling, docs 2024-06-03 15:01:19 -07:00

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.