Repository navigation
Closed
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/imageThe Dockerfile, the image layers and the tool testsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem
Checked at devtools main 206e4c0 on 2026-11-22.
- The image has no
make. In the devcontainer that the image builds,command -v make gmakefinds nothing, anddpkg -l makeshows the stateun. - The apt step of the
Dockerfiledoes not namemake. - dan-petty/homelab names make as a host tool. Its
.pre-commit-config.yamlrunsmake -s secretson each commit, andmake -s syntax,make -s ansible-lintandmake -s shellcheckfor the files that they cover. Thus no commit in homelab passes its hooks in this devcontainer. The commit of dan-petty/homelab#22 failed with "Executablemakenot found". The hooks must not be skipped.
Proposed remedy
- Add the apt package
make(Debian sid has GNU make 4.4.1, the current upstream release) to the apt step of theDockerfile. - Add
run make --versiontotest/tools.sh.
Acceptance criteria
- In the image,
make --versionprints GNU Make 4.4.1 or later, andtest/tools.shchecks it. - After the devcontainer uses the new image, a commit in dan-petty/homelab runs its make hooks.
Person steps
After the merge and the image build, a person rebuilds the devcontainer.
Dependencies
None.
Proposed design
Problem statement
The image has no GNU Make. The pre-commit hooks of dan-petty/homelab call make, so their commits fail in the devcontainer. The change installs the Debian make package and checks it in the image tool test.
Acceptance criteria
Requirement: Install GNU Make from apt
The Dockerfile apt step SHALL install the Debian package make.
Scenario: Image tool test runs make
- WHEN The
test/tools.shlive check runs in the image built bytest/tools.Dockerfile. - THEN
make --versionexits 0 and printsGNU Make 4.4.1or a later version.
Requirement: Check make in the tool test
test/tools.sh SHALL run make --version with its run helper.
Scenario: Tool test reports the make version
- WHEN The
test/tools.shlive check runs in the image. - THEN The output contains the line
+ make --versionand a GNU Make version line.
Existing Tool Considered
No alternatives check has run on the issue. GNU Make is the open, maintained tool that covers the need. The Debian apt package make supplies it, and the change adds no code that the project must build or keep.
Key questions
- Which source supplies GNU Make in the image?: The Debian apt package
make. (best practice) [sources: test/tools.sh]- Chosen: Debian apt package
make. The image already installs apt packages, and Debian maintains the package. - Rejected: Build GNU Make from source. It adds build code and maintenance that the package avoids.
- Chosen: Debian apt package
- Where does the tool test check make?: Add
run make --versionto the apt section oftest/tools.sh. (best practice) [sources: test/tools.sh]- Chosen: Use the existing
runhelper in the apt section. The helper reports a missing command and a timeout with the tool name. - Rejected: Use a separate
command -v makeloop. The loop checks only presence and does not print the version.
- Chosen: Use the existing
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/imageThe Dockerfile, the image layers and the tool testsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 22, 2026
Both work on the devtools image Dockerfile, but #1 builds the image and this candidate adds a missing apt package to it.devops-cli-service commentedon Nov 22, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
fix(deps): pin the devtools image in its run tag form (#6763)
devops-cli-service commentedon Nov 22, 2026
Released in v1.0.0: https://github.com/dan-petty/devtools/releases/tag/v1.0.0