Skip to content

Introduce gitlab-base image

Jason Plum requested to merge gitlab-base into master

What does this MR do?

Introduce gitlab-base image

Introduce the gitlab-base image, which other containers can build on top of. Initial implementation has gitlab-ruby build on top of gitlab-base. Future, other containers can switch to being built on it versus gitlab-ruby, which will allow us to reduce the layer count and footprint of images that have no need for Ruby.

  • Implement gitlab-base image
  • Move gitlab-ruby to be base on it
  • Move gitlab-ruby/scripts/* to gitlab-base, so that all images have access to these scripts
  • Unify entrypoint.sh via if clause detecting UBI/rhel

Relates to gitlab-org/charts/gitlab#2958 (closed)

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