Skip to content

Commit ca088dd

Browse files
committed
feat: add pull policy to Instance.tempo
1 parent 80c82f3 commit ca088dd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/curvy-eagles-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"prool": patch
3+
---
4+
5+
Added pull policy to `Instance.tempo`.

src/testcontainers/Instance.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {
22
GenericContainer,
3+
PullPolicy,
34
type StartedTestContainer,
45
Wait,
56
} from 'testcontainers'
@@ -50,6 +51,7 @@ export const tempo = Instance.define((parameters?: tempo.Parameters) => {
5051
const promise = Promise.withResolvers<void>()
5152

5253
const c = new GenericContainer(image)
54+
.withPullPolicy(PullPolicy.alwaysPull())
5355
.withPlatform('linux/x86_64')
5456
.withNetworkMode('host')
5557
.withExtraHosts([

0 commit comments

Comments
 (0)