Install g++ package to build Ruby 3
What does this MR do?
Setting RUBY_VERSION to 3.0.5 started to produce build failures since no C++ compiler was found.
Why this happened only now, I am not sure. Was this installed in the base images before, and we removed it?
Related issues
gitlab-org/gitlab#385511 (closed)
Image size diff
- This branch:
Final Image Size: 313279963
-
Master branch:
Final Image Size: 325466706
Why would it be smaller on this branch? I noticed that on master we are building a -fips
image, perhaps that's why?
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