Skip to content

CNG: Replace base image for non-Ruby runtime service containers

Summary

Replace the base image for service containers that do not use Ruby during runtime.

Details

Replace the FROM inheritance of images for service containers which do not make use of Ruby during their runtime. Once #2696 (closed) is completed, we will no longer need Ruby, and it can be removed from the various containers such as container-registry, gitlab-shell, and other golang based services.

Targets

As found in &28 (comment 676402709)

container has Ruby actively using Ruby addressed
Gitaly Y Y
Sidekiq Y Y
Webservice Y Y
Workhorse Y N gitlab-org/build/CNG!1134 (merged)
Toolbox Y Y
Geo Logcursor Y Y
Container Registry N N
GitLab Exporter Y Y
GitLab Shell Y (inherit) N gitlab-org/build/CNG!1062 (merged)
GitLab Pages Y N 🚧 #2972 (closed)
GitLab Kubernetes Agent Server (bazel) N N
GitLab Mailroom Y Y
(alpine) certificates N N
cfssl-self-sign N N
kubectl N N

Actionable

Ruby can be removed from any not using it, but contain it. Currently, that is: Workhorse, Shell, Pages

Acceptance

Ruby is not longer present within these images:

Edited by Jason Plum