Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ To release a new [factory](./factory/README.md), open a PR with the desired chan

## Minimize image sizes

The `BASE_IMAGE` defined in [factory/.env](./factory/.env) uses a [Debian Docker image](https://hub.docker.com/_/debian) and the current `BASE_IMAGE` is `debian:12-slim` (codename `bookworm`). To keep the image size of the generated Cypress Docker images to a minimum, choose the `slim` variant when other versions of Debian are used, for instance when [Debian releases](https://www.debian.org/releases/) a new major version.
The `BASE_IMAGE` defined in [factory/.env](./factory/.env) uses a [Debian Docker image](https://hub.docker.com/_/debian). To keep the image size of the generated Cypress Docker images to a minimum, choose the `slim` variant when other versions of Debian are used, for instance when [Debian releases](https://www.debian.org/releases/) a new major version.

To see the size of an image, you can use the command [`docker images`](https://docs.docker.com/engine/reference/commandline/images/), for instance with:

```shell
docker images --format "table {{.Repository}} {{.Tag}} {{.Size}}"
```

A snapshot of current sizes shows:
A snapshot of sizes shows:

| REPOSITORY | TAG | SIZE |
| ---------------- | ----------------------------------------------------------------- | ------ |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We build four images: click on the image name to see the available tags with ver

## Platforms

Cypress Docker images are Linux based, using the Docker image [debian:12-slim](https://hub.docker.com/_/debian) as the default base image. Each of the above listed Cypress Docker images is published with [multi-architecture](https://docs.docker.com/contribute/style/terminology/#multi-architecture--multi-arch) support for `Linux/amd64` and `Linux/arm64` platforms.
Cypress Docker images are Linux based, using the Docker image [debian:13-slim](https://hub.docker.com/_/debian) as the default base image. Each of the above listed Cypress Docker images is published with [multi-architecture](https://docs.docker.com/contribute/style/terminology/#multi-architecture--multi-arch) support for `Linux/amd64` and `Linux/arm64` platforms.

Cypress Docker images can be run as containers on Continuous Integration (CI) systems which support Docker. Cypress Docker images can also be run locally under [Docker Desktop](https://docs.docker.com/desktop/) for Mac, Linux or Windows environments.

Expand Down
8 changes: 4 additions & 4 deletions factory/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Use Debian stable release https://www.debian.org/releases/stable/
# The Debian image cypress/factory is based on
BASE_IMAGE='debian:12.11-slim'
BASE_IMAGE='debian:13.0-slim'

# Node Versions: https://nodejs.org/en/download/releases/
# master branch needs "Active LTS" version
Expand All @@ -18,11 +18,11 @@ NODE_VERSION="${FACTORY_DEFAULT_NODE_VERSION}"

# Update the FACTORY_VERSION to deploy cypress/factory if you make changes to
# BASE_IMAGE, FACTORY_DEFAULT_NODE_VERSION, YARN_VERSION, factory.Dockerfile or installScripts
FACTORY_VERSION='5.12.1'
FACTORY_VERSION='6.0.0'

# Chrome versions: https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
# Linux/amd64 only
CHROME_VERSION='139.0.7258.66-1'
CHROME_VERSION='139.0.7258.127-1'

# Chrome for Testing versions: https://googlechromelabs.github.io/chrome-for-testing/
# not currently used for cypress/browsers and cypress/included images
Expand All @@ -34,7 +34,7 @@ CYPRESS_VERSION='14.5.4'

# Edge versions: https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/
# Linux/amd64 only
EDGE_VERSION='138.0.3351.121-1'
EDGE_VERSION='139.0.3405.86-1'

# Firefox versions: https://download-installer.cdn.mozilla.net/pub/firefox/releases/
# Linux/amd64 for all versions, Linux/arm64 for versions 136.0 and above
Expand Down
4 changes: 4 additions & 0 deletions factory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 6.0.0

- Updated Debian base image from `debian:12.11-slim` to `debian:13.0-slim` using [Debian 13.0 (trixie)](https://www.debian.org/releases/trixie/). Addressed in [#1396](https://github.com/cypress-io/cypress-docker-images/pull/1396).

## 5.12.1

- Updated default node version from `22.17.1` to `22.18.0`. Addressed in [#1394](https://github.com/cypress-io/cypress-docker-images/pull/1394).
Expand Down
2 changes: 1 addition & 1 deletion factory/factory.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BASE_IMAGE is expected to be overridden
# Regular builds, using docker compose, take the value from
# the .env file in the same directory as this file
ARG BASE_IMAGE='debian:12-slim'
ARG BASE_IMAGE='debian:13-slim'

FROM ${BASE_IMAGE} AS factory

Expand Down