ci: install docker-cli explicitly on debian trixie (DEV-607)
Some checks failed
build-images / signing-service image (push) Failing after 20s
validate / JSON Schema (ajv) (push) Successful in 19s
validate / Rego (opa fmt + opa test) (push) Successful in 14s
validate / Go (vet + test) (push) Successful in 34s
validate / DB (migrate up/down dry-run) (push) Successful in 28s
Some checks failed
build-images / signing-service image (push) Failing after 20s
validate / JSON Schema (ajv) (push) Successful in 19s
validate / Rego (opa fmt + opa test) (push) Successful in 14s
validate / Go (vet + test) (push) Successful in 34s
validate / DB (migrate up/down dry-run) (push) Successful in 28s
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 <noreply@paperclip.ing>
This commit is contained in:
parent
51733d8b36
commit
b99801f0df
2 changed files with 9 additions and 2 deletions
|
|
@ -26,8 +26,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
apt-get update
|
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 \
|
apt-get install -y --no-install-recommends \
|
||||||
git curl ca-certificates docker.io
|
git curl ca-certificates docker.io docker-cli
|
||||||
git --version
|
git --version
|
||||||
docker --version
|
docker --version
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,8 +178,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
apt-get update
|
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 \
|
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
|
git --version
|
||||||
docker --version
|
docker --version
|
||||||
psql --version
|
psql --version
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue