Skip to content

fix(image): stop the mise install tracking of the build - #24

Merged
dan-petty merged 1 commit into
mainfrom
fix/20-mise-no-tracking
Nov 20, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/20-mise-no-tracking

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Stop the install-tracking requests of mise in the image build.

  • mise install sends one request to mise-versions.jdx.dev/t for each tool: the tool, the version, the OS and the architecture. DO_NOT_TRACK=1 does not stop them; the setting use_versions_host_track does.
  • The mise-tools stage sets ENV MISE_USE_VERSIONS_HOST_TRACK=0. The final stage starts from base, so the variable is not in the image. The README says that the build stops these requests.

Proof (2026-11-20, pinned sid image, mise 2026.11.11): mise install --locked hadolint sent 2 tracking requests with no setting, and 2 with DO_NOT_TRACK=1. With MISE_USE_VERSIONS_HOST_TRACK=0, mise install --locked of all 27 tools exited 0 and sent 0.

Closes #20

`mise install` sends one request to mise-versions.jdx.dev/t for each
tool that it installs: the tool, the version, the OS and the
architecture. DO_NOT_TRACK=1 does not stop these requests. The mise
setting use_versions_host_track controls them.

The mise-tools stage sets MISE_USE_VERSIONS_HOST_TRACK=0. A run of all
27 tools of mise.toml on 2026-11-20, in the pinned sid image with mise
2026.11.11 and this setting, installed each tool and sent no request
to that URL. The README says that the build stops these requests.

Closes #20
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/image The Dockerfile, the image layers and the tool test labels Nov 20, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 20, 2026 18:46
@dan-petty
dan-petty merged commit 9084b1a into main Nov 20, 2026
8 checks passed
@dan-petty
dan-petty deleted the fix/20-mise-no-tracking branch November 20, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/image The Dockerfile, the image layers and the tool test type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(image): stop the mise install tracking of the build

1 participant