Fix missing composer dependencies in ubi8-minimal base image
What does this MR do?
The ubi8-minimal images purposefully do not include the timezone data inside of /usr/share/zoneinfo to save space. This causes composer to exit with a fatal error in PHP7, and segfault in PHP8. This is because composer assumess that the timezone database exists. To fix the fatal error / segfault issue, it's required to force a re-install of tzdata and libksba which is also required by composer.
What are the relevant issue numbers?
Closes gitlab-org/gitlab#379253 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Oscar Tovar