Skip to content

feat: migrate from brew to zerobrew mise backend#21

Merged
gabemeola merged 9 commits into
mainfrom
feat/zerobrew
Jul 2, 2026
Merged

feat: migrate from brew to zerobrew mise backend#21
gabemeola merged 9 commits into
mainfrom
feat/zerobrew

Conversation

@gabemeola

Copy link
Copy Markdown
Member
  • Install zerobrew v0.3.2 as a faster Homebrew alternative
  • Replace woutermont/mise-brew plugin with kennyg/mise-zerobrew
  • Switch all pre-approved tools from brew: to zerobrew: prefix
  • Add zerobrew binaries and data to final image
  • Update PATH with zerobrew prefix bin directory
  • Update README references

- Install zerobrew v0.3.2 as a faster Homebrew alternative
- Replace woutermont/mise-brew plugin with kennyg/mise-zerobrew
- Switch all pre-approved tools from brew: to zerobrew: prefix
- Add zerobrew binaries and data to final image
- Update PATH with zerobrew prefix bin directory
- Update README references
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Docker image size comparison

Image Size
Baseline (main) 943MB
This PR 955MB
Difference +12MB

gabemeola added 8 commits July 2, 2026 16:22
The mise zerobrew plugin calls zb --root <path> install <formula> on an
uninitialized root, causing 'store corruption: Initialization required'.
Add zb init before install to ensure the root is ready.
zerobrew's sapling bottle has a broken Python stdlib path. Install
the official Facebook prebuilt release at /opt/sapling instead.
- Move 5 tools (gh, ripgrep, fd, micro, node) from zerobrew: to github:
- Fix shim generator grep to only match zerobrew: entries, avoiding
  broken shim paths for github:owner/repo keys
- Update README backend column
Handle github:owner/repo keys with explicit binary name overrides
for entries where the binary differs from the repo name (gh, rg, sl).
Instead of hardcoding binary name overrides in the Dockerfile, tool
entries in mise-config.toml can specify the shim name with a trailing
# shim:<name> comment. Falls back to repo name for github: entries or
stripped prefix for simple backends.
@gabemeola gabemeola merged commit 13a5ce2 into main Jul 2, 2026
1 check passed
@gabemeola gabemeola deleted the feat/zerobrew branch July 2, 2026 17:13
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.

1 participant