Skip to content

fix(image): install make for the task runners of the repositories #33

Closed

Description

@dan-petty

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 gmake finds nothing, and dpkg -l make shows the state un.
  • The apt step of the Dockerfile does not name make.
  • dan-petty/homelab names make as a host tool. Its .pre-commit-config.yaml runs make -s secrets on each commit, and make -s syntax, make -s ansible-lint and make -s shellcheck for 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 "Executable make not 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 the Dockerfile.
  • Add run make --version to test/tools.sh.

Acceptance criteria

  • In the image, make --version prints GNU Make 4.4.1 or later, and test/tools.sh checks 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.sh live check runs in the image built by test/tools.Dockerfile.
  • THEN make --version exits 0 and prints GNU Make 4.4.1 or 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.sh live check runs in the image.
  • THEN The output contains the line + make --version and 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.
  • Where does the tool test check make?: Add run make --version to the apt section of test/tools.sh. (best practice) [sources: test/tools.sh]
    • Chosen: Use the existing run helper in the apt section. The helper reports a missing command and a timeout with the tool name.
    • Rejected: Use a separate command -v make loop. The loop checks only presence and does not print the version.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/bug
    status/new
    value/medium
    effort/low
    source/agent
    scope/image
    on Nov 22, 2026
  2. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 22, 2026
  4. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  5. added
    status/in-review
    and removed
    status/in-progress
    on Nov 22, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/imagesource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions