Skip to content

Commit 083e539

Browse files
committed
added docs for withBuildKit
1 parent 3e28454 commit 083e539

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/features/images.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ const container = await GenericContainer
9191
.build();
9292
```
9393

94+
### Using BuildKit
95+
96+
```javascript
97+
const container = await GenericContainer
98+
.fromDockerfile("/path/to/build-context")
99+
.withBuildKit()
100+
.build();
101+
```
102+
94103
## Image name substitution
95104

96105
Testcontainers supports automatic substitution of Docker image names.

0 commit comments

Comments
 (0)