Skip to content

Commit e907219

Browse files
authored
[#6475] improvement: Disable the ryuk (#6480)
### What changes were proposed in this pull request? Disable the ryuk ### Why are the changes needed? Fix: #6475 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? CI passed.
1 parent 4ffe56c commit e907219

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ allprojects {
182182
param.environment("GRAVITINO_CI_KAFKA_DOCKER_IMAGE", "apache/kafka:3.7.0")
183183
param.environment("GRAVITINO_CI_LOCALSTACK_DOCKER_IMAGE", "localstack/localstack:latest")
184184

185+
// Disable Ryuk for integration tests
186+
// Ryuk need privileged mode, if we want to rootless or run non-privileged mode, we need to disable it.
187+
param.environment("TESTCONTAINERS_RYUK_DISABLED", "true")
188+
185189
val dockerRunning = project.rootProject.extra["dockerRunning"] as? Boolean ?: false
186190
val macDockerConnector = project.rootProject.extra["macDockerConnector"] as? Boolean ?: false
187191
if (OperatingSystem.current().isMacOsX() &&

0 commit comments

Comments
 (0)