Node.js 18 is the lowest currently supported version, so all currently supported Cypress Docker images have been generated using a debian:*slim variant.
Descriptions of the process before cypress/factory was introduced are no longer relevant for future contributions.
Issue
The CONTRIBUTING > Minimize image sizes document section is outdated concerning Debian base versions.
The default
BASE_IMAGE
is determined by the same named property in the factory/.env file.When
cypress/factory
was introduced through PR https://github.com/cypress-io/cypress-docker-images/pull/812 in January 2023BASE_IMAGE
was set todebian:bullseye-slim
(Debian 11).Since PR https://github.com/cypress-io/cypress-docker-images/pull/1057 on May 30, 2024
BASE_IMAGE
is set todebian:12-slim
(codenamebookworm
).The prior PR https://github.com/cypress-io/cypress-docker-images/pull/597 from March 2022, introduced
bullseye-slim
for Node.js16
and above whilst retainingbuster-slim
for Node.js14
and below.Summary
Node.js
18
is the lowest currently supported version, so all currently supported Cypress Docker images have been generated using adebian:*slim
variant.Descriptions of the process before
cypress/factory
was introduced are no longer relevant for future contributions.Change
The section CONTRIBUTING > Minimize image sizes is reworked to give better advice for changes that contributors may need to make.
Obsolete information regarding image generation prior to the introduction of
cypress/factory
is removed.A snapshot of current sizes is included: