ci(images): add git to the molecule-controller image
Build / build (pull_request) Successful in 39s
Molecule / molecule (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 2m3s

The Molecule select job runs the selector in this image, and the
selector diffs the checkout with git.

Closes #488

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-12-01 22:42:23 +00:00
1 parent 2ad2fe6060
commit 75f9d27329
2 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -17,11 +17,11 @@ Ubuntu 26.04 with:
- **The collections the scenarios call** in `/opt/collections` (`ANSIBLE_COLLECTIONS_PATH` is set to it): those of
`requirements.yml` (`community.general`, `ansible.posix`, `community.proxmox`), which the roles call, and of
`extensions/molecule/requirements.yml` (`community.docker`), which the Docker driver's own playbooks call.
- `python3`, `python3-venv` and `ca-certificates` from the distribution. The image runs as root and sets no
- `python3`, `python3-venv`, `ca-certificates` and `git` from the distribution. The image runs as root and sets no
working directory.
- `/opt/molecule-pins.sha256`: the checksums of the four pin files this image was built from.
It has no Docker CLI and no `git`: mount the host's Docker CLI and socket, and the checkout.
It has no Docker CLI: mount the host's Docker CLI and socket, and the checkout.
## How to use it