Repository navigation
fix(devcontainer): the image gets its tools with native build steps - #4366
Merged
Merged
Conversation
The image build installs every tool of tools.lock: commands link into /usr/local/bin and the files of a Python or Node tool go to /usr/local/share/devops-cli. Post-create installs no locked tool, and --skip-tools is removed. Closes #4359
Binaries download in a builder stage with sha256sum -c, Python tools install with uv pip sync --require-hashes, and Node tools install with npm ci --ignore-scripts in a pinned Node stage. No custom installer runs in the build, and a source change rebuilds none of these steps.
tree-sitter 0.26.0 segfaults when devops research reads a Dockerfile of this size. 0.26.1 reads it and 0.25.2 does too. Also lower the swallowed-failures ceiling of commands/devcontainer.py, and drop the removed --skip-tools option from the instruction generator test.
dan-petty
marked this pull request as ready for review
November 10, 2026 15:03
dan-petty
pushed a commit
that referenced
this pull request
Nov 10, 2026
🤖 I have created a release *beep* *boop* --- ## [0.107.4](v0.107.3...v0.107.4) (2026-11-10) ### Bug Fixes * **devcontainer:** the image gets its tools with native build steps ([#4366](#4366)) ([3e2d9c1](3e2d9c1)) --- 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 was referenced Nov 11, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 14, 2026
`docs/DEVCONTAINER_USAGE.md` says that post-create installs `k9s`, `gh-dash` and `tuicr`. Since #4366 the image build installs every tool of `tools.lock` in `/usr/local/bin`, and post-create installs no locked tool (#4746). Closes #4746 Change: `openspec/changes/archive/2026-11-14-4746-devcontainer-k9s/`
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.
In the devcontainer,
openspecwas not onPATH: post-create installed the locked tools into~/.local/bin, at each container creation. The image build now gets every tool oftools.lockwith native steps:sha256sum -cfor each binary,uv pip sync --require-hashesfor each Python tool,npm ci --ignore-scriptsfor each Node tool. Commands are in/usr/local/bin, and tool files in/usr/local/share/devops-tools. Post-create installs no locked tool, and--skip-toolsis removed. A test fails when the Dockerfile pins differ fromtools.lockuntil #4361, #4362 and #4363 remove it. The larger Dockerfile crashed tree-sitter 0.26.0 indevops research, so the pin is 0.26.1. Thetoolsandnpm-toolsstages build on amd64 with 20 checksums passed. The full image is not built here: my registry refused theghcr.iopull.Closes #4359
Change:
openspec/changes/archive/2026-11-10-4359-the-image-holds-the-locked-tools/