Install git, add to the README

We use git in the makefile to create the container revision label.
This did not have any affect outside the local containers, since the
official ones use the CI_COMMIT_TAG variable from the CI.

Fixes: 5ec09f5 ("gitlab-ci: install devtools without its dependencies")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov 2023-09-22 17:06:33 +01:00 committed by Kristian Klausen
parent 486eadb65e
commit 92315d6eaa
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ get_version:
matrix:
- GROUP: [base, base-devel]
before_script:
- pacman -Syu --noconfirm make fakechroot fakeroot
- pacman -Syu --noconfirm git make fakechroot fakeroot
- pacman -Sdd --noconfirm devtools
script:
- make $PWD/output/Dockerfile.$GROUP

View File

@ -54,7 +54,8 @@ image for Arch Linux.
Install the following Arch Linux packages:
* make
* devtools
* devtools (for the pacman.conf files)
* git (to fetch the commit/revision number)
* podman
* fakechroot
* fakeroot