feat(toolbox): move mise and tooling to standard #5
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/standard-tooling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
toolbox/standardnow shipsmise,gosu,ripgrep,stow,sudo,tmux, andvimon top offgj./etc/profile.d/mise.sh(login shells, bash-guarded) plus/etc/bash.bashrc(interactive non-login shells, e.g. VS Code terminals).toolbox/experimentis reduced tochromium+podman-remote; its long mise how-to moved intotoolbox/README.mdin condensed form.devcontainers/standardneeds no Dockerfile change: it inheritstoolbox/standard, and so dohugoand both pandoc images. README tables corrected (standard base was documented asminimal).toolbox/standard→1.1 / 1.1.0,devcontainers/standard→1.2 / 1.2.0.test.yml: the experiment and devcontainer tests now buildtoolbox/standardlocally and tag it:1as well, so PR CI exercises the new layer instead of the published one.Why
The standard CLI tooling lived in an experiment sandbox that existed to prove mise installs cleanly. It does, so the layer belongs in
toolbox/standard, where every downstream image (devcontainers/standard,hugo, pandoc) inherits it without extra layers.jqandunzipwere listed in the experiment but already come frombase/*, so they are not duplicated.Two bugs in the copied mise hook were fixed while moving it:
mise activate bashran under/bin/shlogin shells (including thecommon-utilsenv probe), where bash function syntax fails. It is now guarded byBASH_VERSION.profile.d. A small, idempotentPATHline in/etc/bash.bashrccloses that gap.Verification
Static checks that passed locally:
dash -n/bash -non the de-commentedRUNblock oftoolbox/standard/Dockerfilemise/bin/mise) andmise --versionconfirmed/etc/bash.bashrcsnippet is idempotent underbashand parseable underdashNot run here: container builds. This environment has no container runtime (podman reports
no container host configured, no Docker socket), somake -C toolbox build-standardandmake -C devcontainers build-standardmust run in CI or locally:Out of scope
chromiumandpodman-remotestay intoolbox/experiment(deliberate).latestlookup by decision; pinning it to a version + SHA256 is a later change.