You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from 2.16.0-1~ubuntu.22.04~jammy to 2.17.2-1~ubuntu.22.04~jammy on our build/CI server, all pipelines started failing with this error from docker compose build:
panic: assignment to entry in nil map
goroutine 26 [running]:
github.com/compose-spec/compose-go/types.MappingWithEquals.OverrideBy(...)
github.com/compose-spec/compose-go@v1.13.2/types/types.go:427
github.com/docker/compose/v2/pkg/compose.(*composeService).build.func1({0x22545e0, 0xc0005af6c0}, {0xc0001bea10, 0x3})
github.com/docker/compose/v2/pkg/compose/build.go:78 +0x834
github.com/docker/compose/v2/pkg/compose.(*graphTraversal).run.func1()
github.com/docker/compose/v2/pkg/compose/dependencies.go:127 +0x63
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
golang.org/x/sync@v0.1.0/errgroup/errgroup.go:72 +0xa5
Command exited with non-zero status 2
I found two ways to stop the error from happening:
Description
After upgrading from
2.16.0-1~ubuntu.22.04~jammy
to2.17.2-1~ubuntu.22.04~jammy
on our build/CI server, all pipelines started failing with this error from docker compose build:I found two ways to stop the error from happening:
2.16.0-1~ubuntu.22.04~jammy
Steps To Reproduce
DOCKER_BUILDKIT=0 docker compose build
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: