Repository navigation
fix(image): give the image the mise command - #92
Merged
Merged
Conversation
The repositories that pin their tools in a mise.toml of their own (infra, homelab) run `mise install --locked` and `mise exec`. Their commit hooks stopped in the devcontainer, because the image had no mise command. Debian sid has no mise package, so the last stage copies the static binary of the pinned mise image to /usr/local/bin/mise, as it does for uv. MISE_USE_VERSIONS_HOST_TRACK=0 stops the install report for each user, MISE_DISABLE_UPDATE_WARNING=1 stops the update notice, and the file /usr/local/lib/mise/mise-self-update-instructions.toml turns off `mise self-update`. test/tools.sh runs `mise --version` and fails when mise can update itself or sends the install report. Closes #90
Owner
Author
|
Local proof on
Source check: Debian sid has no |
dan-petty
marked this pull request as ready for review
November 26, 2026 06:45
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 26, 2026
🤖 I have created a release *beep* *boop* --- ## [1.2.4](v1.2.3...v1.2.4) (2026-11-26) ### Bug Fixes * **image:** give the image the mise command ([#92](#92)) ([cf95ec9](cf95ec9)), closes [#90](#90) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Copy the
misecommand of the pinned mise image into the image at/usr/local/bin/mise.mise.tomlof their own (infra, homelab) runmise install --lockedandmise exec. Their commit hooks stopped in the devcontainer, because the image had nomisecommand.misepackage, so mise comes from its official image, as uv does. Renovate updates thatFROMline.MISE_USE_VERSIONS_HOST_TRACK=0stops the install report for each user, andMISE_DISABLE_UPDATE_WARNING=1stops the update notice./usr/local/lib/mise/mise-self-update-instructions.tomlturns offmise self-update, as the packaging guide of mise says.test/tools.shrunsmise --version, and fails when mise can update itself or sends the install report.The image does not activate mise in a shell, so no
PATHchanges. The static binary adds 175 MB to the image.Closes #90