Skip to content

Fix missing composer dependencies in ubi8-minimal base image

Oscar Tovar requested to merge fix-ubi8-minimal-regression into master

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?

Edited by Oscar Tovar

Merge request reports