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
chore(deps): combine and bump compose dependencies (#1787)
* chore(deps): bump compose replacement
* chore: run compose for Go 1.21, only
* chore: update test
* chore(deps): bump github.com/compose-spec/compose-go from 1.18.3 to 1.19.0 in /modules/compose
* chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 in /modules/compose
* chore(deps): bump github.com/docker/compose from 2.22.0 to 2.23.0 in /modules/compose
Copy file name to clipboardExpand all lines: docs/features/docker_compose.md
+1-12Lines changed: 1 addition & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,12 @@ dependent upon.
10
10
## Using `docker-compose` directly
11
11
12
12
!!!warning
13
-
The minimal version of Go required to use this module is **1.20**.
13
+
The minimal version of Go required to use this module is **1.21**.
14
14
15
15
```
16
16
go get github.com/testcontainers/testcontainers-go/modules/compose
17
17
```
18
18
19
-
!!!warning
20
-
21
-
Given the version includes the Compose dependency, and the Docker folks added a replace directive in their [go.mod](https://github.com/docker/compose/blob/v2/go.mod#L175-L188),
22
-
we were forced to add it as well. As a result, users of _Testcontainers for Go_ need to add the following replace directive to their `go.mod` files.
Because `docker-compose` v2 is implemented in Go it's possible for _Testcontainers for Go_ to
31
20
use [`github.com/docker/compose`](https://github.com/docker/compose) directly and skip any process execution/_docker-compose-in-a-container_ scenario.
32
21
The `ComposeStack` API exposes this variant of using `docker-compose` in an easy way.
0 commit comments