Page MenuHomePhabricator

Build Trixie based Toolforge pre-built images
Closed, ResolvedPublic

Description

< T335507: Build Bookworm based Toolforge Kubernetes images | NOTYETCREATED >

Debian 13 "Trixie" is planned to be released on August 9th. Once it's out, and we have a Wikimedia base image for it, we should build Toolforge prebuilt images based on it.

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
image-config: bump to 0.0.21-20250812155445-067fec45repos/cloud/toolforge/toolforge-deploy!918group_203_bot_f4d95069bb2675e4ce1fff090c1c1620bump_image-configmain
data: Add Trixie based imagesrepos/cloud/toolforge/image-config!14taavitaavi/trixiemain
Customize query in GitLab

Event Timeline

taavi changed the task status from Open to Stalled.
taavi triaged this task as Medium priority.

@bd808 and others, how would you feel about dropping the giant list of fonts installed in the PHP image and pushing users needing those to the build service instead?

I’d feel better about it if we had confirmation that the build service works for this use case, i.e. that the tricks used by the apt buildpack are enough to make any fonts installed via the Aptfile actually available. (But I don’t know which / how many tools even need the extra fonts in the first place, or how hard it would be to make them look for fonts somewhere in /layers/fagiani_apt/apt/ “manually”.)

taavi changed the task status from Stalled to Open.Aug 11 2025, 10:50 AM

The context for adding those fonts is https://gerrit.wikimedia.org/r/c/operations/docker-images/toollabs-images/+/838939 from 2022 and the resulting cloud-admin thread, where buildpacks were predicted as the long-term solution even back then. So if there are bugs in this area, we should definitely fix those.

With the 8.4 image, dropping the font packages and librsvg cuts about three quaters (~450M out of ~600M) from the unique part of the PHP images not shared with the base Toolforge trixie layer. So given that a practical opportunity to drop stuff exists only about every two years, I would very much like to take advantage of it here.

docker-registry.tools.wmflabs.org/toolforge-php84-sssd-base with fonts            testing                     d1896ff40329   2 minutes ago        1.33GB
docker-registry.tools.wmflabs.org/toolforge-php84-sssd-base without fonts         testing                     901fd70de296   3 seconds ago        904MB
docker-registry.tools.wmflabs.org/toolforge-trixie-sssd                           testing                     7e9dbbf38301   9 minutes ago        772MB
docker-registry.wikimedia.org/trixie                                              latest                      31c92167d5ba   28 minutes ago       78.6MB

Change #1177345 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/docker-images/toollabs-images@master] Add Trixie images

https://gerrit.wikimedia.org/r/1177345

@bd808 and others, how would you feel about dropping the giant list of fonts installed in the PHP image and pushing users needing those to the build service instead?

Does someone have time to work with the svgtranslate tool to see if it can be made to work with buildpacks? That tool's woes leaving the job grid was the trigger for me bloating the php image with the fonts that svgtranslate needs.

No, I have not heard anything from the maintainers of that tool about their plans for a migration. I don't think that is also a reasonable blocker for releasing these images to the rest of the community.

Change #1177345 merged by jenkins-bot:

[operations/docker-images/toollabs-images@master] Add Trixie images

https://gerrit.wikimedia.org/r/1177345

Mentioned in SAL (#wikimedia-cloud) [2025-08-12T15:34:51Z] <taavi> building initial trixie based images T400255

Change #1178019 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/docker-images/toollabs-images@master] Add mono612-sssd/base

https://gerrit.wikimedia.org/r/1178019

Change #1178019 merged by jenkins-bot:

[operations/docker-images/toollabs-images@master] Add mono612-sssd/base

https://gerrit.wikimedia.org/r/1178019

group_203_bot_f4d95069bb2675e4ce1fff090c1c1620 opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/918

image-config: bump to 0.0.21-20250812155445-067fec45