@@ -126,7 +126,7 @@ final class RepeatedBuildTests: XCTestCase {
126
126
// Test with no arguments by default:
127
127
var possibleArguments = [ " --host-toolchain " ]
128
128
do {
129
- try await Shell . run ( " docker ps" )
129
+ try await Shell . run ( " podman ps" )
130
130
possibleArguments. append ( " --with-docker --linux-distribution-name rhel --linux-distribution-version ubi9 " )
131
131
} catch {
132
132
self . logger. warning ( " Docker CLI does not seem to be working, skipping tests that involve Docker. " )
@@ -231,7 +231,7 @@ func buildTestcase(_ logger: Logger, testcase: String, bundleName: String, tempD
231
231
logger. info ( " Building test project in 6.0- \( containerVersion) container " )
232
232
buildOutput = try await Shell . readStdout (
233
233
"""
234
- docker run --rm -v \( testPackageDir) :/src \
234
+ podman run --rm -v \( testPackageDir) :/src \
235
235
-v $HOME/.swiftpm/swift-sdks:/root/.swiftpm/swift-sdks \
236
236
--workdir /src swift:6.0- \( containerVersion) \
237
237
/bin/bash -c " swift build --scratch-path /root/.build --experimental-swift-sdk \( bundleName) "
@@ -243,7 +243,7 @@ func buildTestcase(_ logger: Logger, testcase: String, bundleName: String, tempD
243
243
logger. info ( " Building test project in 6.0- \( containerVersion) container with static-swift-stdlib " )
244
244
buildOutput = try await Shell . readStdout (
245
245
"""
246
- docker run --rm -v \( testPackageDir) :/src \
246
+ podman run --rm -v \( testPackageDir) :/src \
247
247
-v $HOME/.swiftpm/swift-sdks:/root/.swiftpm/swift-sdks \
248
248
--workdir /src swift:6.0- \( containerVersion) \
249
249
/bin/bash -c " swift build --scratch-path /root/.build --experimental-swift-sdk \( bundleName) --static-swift-stdlib "
@@ -281,7 +281,7 @@ func buildTestcases(config: SDKConfiguration) async throws {
281
281
282
282
if config. withDocker {
283
283
do {
284
- try await Shell . run ( " docker ps" )
284
+ try await Shell . run ( " podman ps" )
285
285
} catch {
286
286
throw XCTSkip ( " Container runtime is not available - skipping tests which require it " )
287
287
}
0 commit comments