Skip to content

Add minimal image for ts-derp-docker#5

Open
stratself wants to merge 4 commits into
Erisa:mainfrom
stratself:main
Open

Add minimal image for ts-derp-docker#5
stratself wants to merge 4 commits into
Erisa:mainfrom
stratself:main

Conversation

@stratself
Copy link
Copy Markdown
Contributor

This PR adds a Dockerfile.minimal image built with limited feature flags, intended to be used only as a DERP and not much more. Some notes:

  • tailscale and tailscaled are combined in a single binary. Results in a 70.1MB image from the original 132MB on x86
  • acme,hujsonconf,serve,tailnetlock seems to be needed for containerboot, lest errors occur
  • clientmetrics is needed for netstack

For CI I basically just copypasted docker-publish.yml. Images are being built on ghcr.io/stratself/ts-derp-docker:latest-minimal - I've just been able to test on x86_64 though

tags: |
ghcr.io/erisa/ts-derper:latest
ghcr.io/erisa/ts-derper:${{ steps.previoustag.outputs.tag }}
ghcr.io/${{ github.actor }}/ts-derper:latest
Copy link
Copy Markdown
Owner

@Erisa Erisa Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually doesn't work because my github username has a capital letter in it :(

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm well it didn't work here and that was ko Erisa/tsnet-serve@09f0b05
Maybe this action can do it better. Will check!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants