[Bug] - buildx packaged with docker 24 lacks version information
Describe the bug
It's difficult to figure out the version of buildx that is packaged with the al2023 docker 24 package, as it has no version information.
To Reproduce
Run 'docker info' or '/usr/libexec/docker/cli-plugins/docker-buildx version' to see the reported buildx version.
Expected behavior
Given that in docker 24.0.3 buildx was bumped to 0.11.1 I would expect to see that.
Screenshots
Actual output :
...
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.0.0+unknown
Path: /usr/libexec/docker/cli-plugins/docker-buildx
...
Desktop (please complete the following information):
$ uname -a
Linux 6.1.52-71.125.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 12 21:41:38 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -q docker
docker-24.0.5-1.amzn2023.0.1.x86_64
Additional context
This would seem to be some buildtime/package time bug, such that the buildx binary has a 'v0.0.0' version string, when it should reflect the actual buildx version.
This bug also exists in the previous 20.x package, but would like it fixed in 24.x for sure.
This bug also is occurring in 25.0.3-1
[ec2-user@ip-10-0-150-136 actions-runner]$ rpm -q docker
docker-25.0.3-1.amzn2023.0.1.aarch64
[ec2-user@ip-10-0-150-136 actions-runner]$ uname -a
Linux ip-10-0-150-136.us-east-2.compute.internal 6.1.79-99.164.amzn2023.aarch64 #1 SMP Tue Feb 27 18:02:03 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
[ec2-user@ip-10-0-150-136 actions-runner]$
Output from docker info
Client:
Version: 25.0.3
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.0.0+unknown
Path: /usr/libexec/docker/cli-plugins/docker-buildx
...
This bug is preventing us from using EC2 VMs as a github actions build runner. The docker build actions check the buildx version and if it is below v0.10.0 the provenance flag is disallowed. This prevents digests from being generated and causes multi-arch builds to fail.
any updates on this issue ? Seeing the same on docker version 25.0.3.