Skip to content

Drop dependencies on the "git-base" image

Patrick Steinhardt requested to merge pks-reduce-git-dependency into master

What does this MR do?

Many of our images depend on the "git-base" image even though they don't actually use "git" at all. This both needlessly increases the resulting images' size and makes it harder to iterate on the "git-base" image, which ultimately should only ever be required by the Gitaly image.

This MR removes the dependency on the "git-base" image from all images except "gitaly". This both brings down the size and prepares for the migration to bundled Git, where we don't install a complete Git distribution anymore but only a subset of Git binaries.

Related issues

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
Edited by Jason Plum

Merge request reports