Skip to content

Commit

Permalink
added docs for withBuildKit
Browse files Browse the repository at this point in the history
  • Loading branch information
schummar committed Apr 27, 2024
1 parent 3e28454 commit 083e539
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/features/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ const container = await GenericContainer
.build();
```

### Using BuildKit

```javascript
const container = await GenericContainer
.fromDockerfile("/path/to/build-context")
.withBuildKit()
.build();
```

## Image name substitution

Testcontainers supports automatic substitution of Docker image names.
Expand Down

0 comments on commit 083e539

Please sign in to comment.