CI: Update packages in Docker image
After submitting !306 (closed) I discovered that the gi-docgen
installed in the CI image's /home/user/.local/bin/
is actually less recent than the Fedora 36 gi-docgen
RPM, and has some incompatibilities with newer syntax. Since installing gi-docgen
via dnf
will install a newer version, we can just do that in the image setup, and avoid the subsequent pip
command.
Also, the .gitlab-ci.yml
scripting was using sudo dnf
to install some additional packages that can just be part of the image, instead.
Finally, I (semi-)sorted the package list in the Dockerfile's dnf
command, and added the install_weak_deps=false
option to the dnf
command to eliminate extraneous packages that bloat the image.