Skip to content

build: bump images to v1.24.7 for release, docker-compose v2.38.2 (COMPOSE_BAKE=false), fixes #7383 - #7456

Merged
rfay merged 4 commits into
mainfrom
20250716_stasadev_bump_images_v1.24.7
Jul 18, 2025
Merged

rfay merged 4 commits into
mainfrom
20250716_stasadev_bump_images_v1.24.7

Conversation

@stasadev

@stasadev stasadev commented Jul 16, 2025 •

Copy link
Copy Markdown
Member

The Issue

How This PR Solves The Issue

  • Bumps Docker images to v1.24.7
  • Updates some Docker Hub README.md
  • Bumps docker-compose to v2.38.2 (and sets COMPOSE_BAKE=false to restore the old behavior we rely on)

Manual Testing Instructions

Automated Testing Overview

Release/Deployment Notes

@stasadev
stasadev requested review from a team as code owners July 16, 2025 17:19
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file maintenance labels Jul 16, 2025
@github-actions

github-actions Bot commented Jul 16, 2025 •

Copy link
Copy Markdown

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for taking a nice pass through the Docker image READMEs!

Comment thread containers/ddev-webserver/README.md Outdated
* Nginx
* Apache
* Many PHP versions
* All supported, non-EOL PHP versions

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No need to change this, but of course we support so very many EOL PHP versions. Not sure how to say it well, but "Many" was probably decent terminology. Maybe "A stupendous number of weird PHP versions" :) Again, leave it :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

What I meant is that we don't bundle all PHP versions. I'll rephrase it slightly.

@rfay

rfay commented Jul 16, 2025 •

Copy link
Copy Markdown
Member

TestDeleteCmd fails: https://github.com/ddev/ddev/actions/runs/16326029260/job/46116281364

The message is Error: "2025-07-16T19:18:38.647 Cleaning ddev-global-cache with command 'rm -rf /mnt/ddev-global-cache/*/TestCmdWordpress-{web,db} /mnt/ddev-global-cache/traefik/*/TestCmdWordpress.{yaml,crt,key}'\n Container ddev-TestCmdWordpress-db Stopped\n Container ddev-TestCmdWordpress-busybox Stopped\n Container ddev-TestCmdWordpress-web Stopped\n Container ddev-TestCmdWordpress-busybox Stopped\n Container ddev-TestCmdWordpress-web Stopped\n Container ddev-TestCmdWordpress-db Stopped\n Container ddev-TestCmdWordpress-busybox Removed\n Container ddev-TestCmdWordpress-db Removed\n Container ddev-TestCmdWordpress-web Removed\n Network ddev-testcmdwordpress_default Removed\n2025-07-16T19:18:49.630 stopping ddev-router because all project containers are stopped\nNot trying to remove hostnames because DDEV_NONINTERACTIVE=true\nVolume TestCmdWordpress-mariadb for project TestCmdWordpress was deleted\nVolume TestCmdWordpress-postgres for project TestCmdWordpress was deleted\nVolume third-party-tmp-busybox-volume for project TestCmdWordpress was deleted\n2025-07-16T19:18:50.110 Deleted Docker image ddev/ddev-dbserver-mariadb-10.11:v1.24.7-TestCmdWordpress-built\n2025-07-16T19:18:50.113 Deleted Docker image ddev/ddev-webserver:v1.24.7-TestCmdWordpress-built\nProject TestCmdWordpress was deleted. Your code and configuration are unchanged.\nOptionally, rundocker builder prune to clean unused builder cache.\n" does not contain "Image ddev-testcmdwordpress-busybox:latest for project TestCmdWordpress was deleted"

The key image deletions are

Deleted Docker image ddev/ddev-dbserver-mariadb-10.11:v1.24.7-TestCmdWordpress-built
Deleted Docker image ddev/ddev-webserver:v1.24.7-TestCmdWordpress-built

These are the images I see before the delete in TestDeleteCmd

rfay@rfay-mba-m4:~/tmp/ddevtest/TestCmdWordpress3542831853/.ddev$ docker images
REPOSITORY                         TAG                              IMAGE ID       CREATED          SIZE
ddev/ddev-ssh-agent                v1.24.7-built                    802929bd8660   3 minutes ago    161MB
ddev/ddev-webserver                v1.24.7-TestCmdWordpress-built   52c3d3c1968f   16 minutes ago   1.21GB
ddev/ddev-dbserver-mariadb-10.11   v1.24.7-TestCmdWordpress-built   ba48591eb1d2   16 minutes ago   510MB
ddev/ddev-ssh-agent                v1.24.7                          ae0588c07b88   5 hours ago      161MB
ddev/ddev-xhgui                    v1.24.7                          79de40ec19a9   5 hours ago      49.5MB
ddev/ddev-traefik-router           v1.24.7                          8ab6d06e448f   5 hours ago      254MB
ddev/ddev-dbserver-mariadb-10.11   v1.24.7                          f26fc839cb4f   5 hours ago      510MB
ddev/ddev-webserver                v1.24.7                          bea3bd02752a   6 hours ago      1.21GB
ddev/ddev-utilities                latest                           93034a07c711   9 months ago     73.3MB
ddev-testcmdwordpress-busybox      latest                           dd12a4fca40b   2 years ago      4.04MB
busybox                            stable                           6e35904c88f6   2 years ago      4.04MB

And this is what I see after the TestDeleteCmd:

REPOSITORY                         TAG             IMAGE ID       CREATED         SIZE
ddev/ddev-ssh-agent                v1.24.7-built   802929bd8660   7 minutes ago   161MB
ddev/ddev-ssh-agent                v1.24.7         ae0588c07b88   5 hours ago     161MB
ddev/ddev-xhgui                    v1.24.7         79de40ec19a9   5 hours ago     49.5MB
ddev/ddev-traefik-router           v1.24.7         8ab6d06e448f   5 hours ago     254MB
ddev/ddev-dbserver-mariadb-10.11   v1.24.7         f26fc839cb4f   5 hours ago     510MB
ddev/ddev-webserver                v1.24.7         bea3bd02752a   6 hours ago     1.21GB
ddev/ddev-utilities                latest          93034a07c711   9 months ago    73.3MB
ddev-testcmdwordpress-busybox      latest          dd12a4fca40b   2 years ago     4.04MB
busybox                            stable          6e35904c88f6   2 years ago     4.04MB

The only two that were deleted were:

ddev/ddev-webserver                v1.24.7-TestCmdWordpress-built   52c3d3c1968f   16 minutes ago   1.21GB
ddev/ddev-dbserver-mariadb-10.11   v1.24.7-TestCmdWordpress-built   ba48591eb1d2   16 minutes ago   510MB

So it's just not finding ddev-testcmdwordpress-busybox, but I don't see why it would have, since it's hidden in a Dockerfile.

However, I don't see why we would suddenly see this in this PR unless it was a result of changing the docker-compose version.

And sure enough, if I do ddev config global --required-docker-compose-version=v2.36.1 the test runs fine. So I guess we have to study what the difference is.

Pushing minor irrelevant commit to the test.

@rfay
rfay self-requested a review July 16, 2025 23:13
Comment thread pkg/ddevapp/ddevapp.go
Comment on lines +2574 to +2584
// TODO: Disable bake builder (default since compose v2.37.0) to restore image label
// com.docker.compose.project used by `ddev delete` to detect DDEV-created images
// See: https://github.com/docker/compose/releases/tag/v2.37.0
//
// Label can be added via build.labels:
// services:
// web:
// build:
// labels:
// com.docker.compose.project: "project-name"
"COMPOSE_BAKE": "false",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is another reason to work on:

And remove COMPOSE_BAKE=false later.

@stasadev stasadev changed the title build: bump images to v1.24.7 for release, docker-compose v2.38.2, fixes #7383 build: bump images to v1.24.7 for release, docker-compose v2.38.2 (COMPOSE_BAKE=false), fixes #7383 Jul 17, 2025

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@stasadev
stasadev force-pushed the 20250716_stasadev_bump_images_v1.24.7 branch from c8df5ba to 503ab7f Compare July 18, 2025 10:18
@stasadev

Copy link
Copy Markdown
Member Author

Rebased and repushed ddev-dbserver and ddev-webserver.

@rfay
rfay merged commit dc9a0d0 into main Jul 18, 2025
@rfay
rfay deleted the 20250716_stasadev_bump_images_v1.24.7 branch July 18, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants