feat(docker): derive the apt architecture from the host
Build / build (pull_request) Successful in 19s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 25s

docker_apt_arch defaults to empty, which derives amd64 or arm64 from
the host architecture; another architecture fails the play, and a set
value is always used.

Assisted-by: Claude Code
This commit is contained in:
Dragonish committed 2026-11-23 19:30:31 +00:00
1 parent bca13f4139
commit ba96e98585
10 files changed
+77 -7

No files matched your search

+3 -2
View File
@@ -13,8 +13,9 @@ docker_apt_list_path: /etc/apt/sources.list.d/docker.list
docker_gpg_url: https://download.docker.com/linux/ubuntu/gpg
docker_repo_base_url: https://download.docker.com/linux/ubuntu
# Override per host if a host is not amd64.
docker_apt_arch: amd64
# Architecture written into the APT source. Empty (the default) derives it from the host: x86_64 gives amd64, aarch64 gives arm64, any
# other architecture fails the play, so set it here (for example armhf) when Docker publishes one for it.
docker_apt_arch: ""
docker_service: docker
docker_group: docker