From b99801f0df1245f12023883614ab57843d6b87230d9c3b4723676f152605a58c Mon Sep 17 00:00:00 2001 From: "CTO (Paperclip)" Date: Sun, 25 Oct 2026 19:27:24 +0000 Subject: [PATCH] ci: install docker-cli explicitly on debian trixie (DEV-607) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Debian trixie split the Docker CLI into its own `docker-cli` package. `docker.io` now only pulls in the daemon, and the CLI dep is a Recommends — which `--no-install-recommends` skips. Both the new DB dry-run job in validate.yml and the pre-existing signing-service image job in build-images.yml were failing with `docker: not found` after install. Add `docker-cli` explicitly to both apt install lines. Co-Authored-By: Paperclip --- .forgejo/workflows/build-images.yml | 6 +++++- .forgejo/workflows/validate.yml | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-images.yml b/.forgejo/workflows/build-images.yml index 358399b..7817c7e 100644 --- a/.forgejo/workflows/build-images.yml +++ b/.forgejo/workflows/build-images.yml @@ -26,8 +26,12 @@ jobs: run: | set -euo pipefail apt-get update + # Debian trixie: `docker.io` only installs the daemon; the CLI + # (`/usr/bin/docker`) ships in `docker-cli`, which is a Recommends + # and therefore excluded by `--no-install-recommends`. Add it + # explicitly. apt-get install -y --no-install-recommends \ - git curl ca-certificates docker.io + git curl ca-certificates docker.io docker-cli git --version docker --version diff --git a/.forgejo/workflows/validate.yml b/.forgejo/workflows/validate.yml index f900acd..3bbc850 100644 --- a/.forgejo/workflows/validate.yml +++ b/.forgejo/workflows/validate.yml @@ -178,8 +178,11 @@ jobs: run: | set -euo pipefail apt-get update + # Debian trixie: `docker.io` only brings the daemon; the CLI + # (`/usr/bin/docker`) ships in `docker-cli` as a Recommends that + # `--no-install-recommends` skips. Pull it in explicitly. apt-get install -y --no-install-recommends \ - git curl ca-certificates docker.io postgresql-client + git curl ca-certificates docker.io docker-cli postgresql-client git --version docker --version psql --version