Skip to content

Fix docker-compose#1711

Merged
quaresmajose merged 2 commits into
foundriesio:mainfrom
ricardosalveti:main-next
Mar 9, 2026
Merged

Fix docker-compose#1711
quaresmajose merged 2 commits into
foundriesio:mainfrom
ricardosalveti:main-next

Conversation

@ricardosalveti
Copy link
Copy Markdown
Member

Docker-compose was changed to fetch dependencies via git and go-mods, and in order to be able to patch cli (lmp patch) the recipe requires cli to be fetched over git instead of go-mods.

Changing just the docker cli include is currently not possible due issues with latest meta-virtualization, as reported at https://lists.yoctoproject.org/g/meta-virtualization/message/9625, so use an older version of the same script and update docker-compose to the latest revision available, including the cli separation.

Once meta-virtualization is fixed upstream we should be able to have a reduced bbappend only.

Current v5.0.0 recipe availble in meta-virtualization is not working for
vcs fetch-mode, required when patching individual modules (we have a
local patch for cli), so update the recipe to the v5.1.0 release
refreshing the go-mod*.inc files based on an older fetcher code from
meta-virt.

Updated with:

bitbake -f -c discover_and_generate docker-compose
python3 meta-virtualization/scripts/oe-go-mod-fetcher-hybrid.py \
--recipedir meta-virtualization/recipes-containers/docker-compose \
--git "github.com/containerd,github.com/docker/cli,k8s.io/api,k8s.io/kube-openapi,k8s.io/client-go"

Upstream issue:
https://lists.yoctoproject.org/g/meta-virtualization/message/9625

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Refresh destdir folder based on latest changes from meta-virtualization
to fetch using go-mods + git.

Folder needs to be aligned with the cache hash used when fetching docker
cli.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Copy link
Copy Markdown
Member

@quaresmajose quaresmajose left a comment

Choose a reason for hiding this comment

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

LGTM

@quaresmajose quaresmajose merged commit 1194cb4 into foundriesio:main Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants