Skip to content

feat: update BASE_IMAGE to debian:13.0-slim (trixie) #1396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 15, 2025

Conversation

MikeMcC399
Copy link
Collaborator

@MikeMcC399 MikeMcC399 commented Aug 13, 2025

Situation

Cypress Docker images built from factory/.env currently use BASE_IMAGE='debian:12.11-slim'. Debian 13.0 (trixie), which was released on Aug 9, 2025, supersedes Debian 12.x (bookworm).

Corresponding Debian Docker images were made available on Aug 13, 2025.

Change

Update the base image for cypress/factory to use Debian 13.0 (trixie).

In detail, the environment variables in factory/.env that control the default build process, are updated as follows:

Environment variable Before After
BASE_IMAGE debian:12.11-slim debian:13.0-slim
FACTORY_VERSION 5.12.1 6.0.0
FACTORY_DEFAULT_NODE_VERSION 22.18.0 no change
CHROME_VERSION 139.0.7258.66-1 139.0.7258.127-1
CHROME_FOR_TESTING_VERSION 139.0.7258.66 no change
EDGE_VERSION 138.0.3351.121-1 139.0.3405.86-1
FIREFOX_VERSION 141.0.3 no change

Debian library names (t64)

Debian library package names in the installation scripts are not updated to their t64 equivalents. Debian 13 automatically translates old library package names to new package names, for instance

# apt-get install libglib2.0-0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libglib2.0-0t64' instead of 'libglib2.0-0'

Keeping the old names means that factory/factory.Dockerfile retains backwards compatibility with Debian 11 (bullseye) and 12 (bookworm), whilst also being usable with Debian 13 (trixie).

BREAKING CHANGE:

Update
BASE_IMAGE from debian:12.11-slim to debian:13.0-slim
FACTORY_VERSION to 6.0.0
CHROME_VERSION to 139.0.7258.127-1
EDGE_VERSION to 139.0.3405.86-1
@cypress-app-bot
Copy link

@MikeMcC399
Copy link
Collaborator Author

MikeMcC399 commented Aug 13, 2025

This PR is ready to merge.

It is however left in draft state giving priority to and waiting for the release of Cypress 15.

Copy link
Contributor

@AtofStryker AtofStryker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @MikeMcC399. This one we might want to merge ahead of cypress 15 just to verify there aren't issues with end users, though I doubt that to be the case

@MikeMcC399 MikeMcC399 marked this pull request as ready for review August 15, 2025 20:34
@MikeMcC399
Copy link
Collaborator Author

@AtofStryker

thank you @MikeMcC399. This one we might want to merge ahead of cypress 15 just to verify there aren't issues with end users, though I doubt that to be the case

In that case, it's ready to merge. I did also test it successfully manually with a Cypress 15 beta version. It looks like Debian 13 is quite solid.

@AtofStryker AtofStryker merged commit 9a9e487 into cypress-io:master Aug 15, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to Debian 13.x (trixie)
3 participants