diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b8ba2ac4a..ed14a98e7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -69,4 +69,4 @@ jobs:
cp service/target/jib-extra/usr/lib/libfdb_c.so /usr/lib/libfdb_c.x86_64.so
ldconfig
- name: Build with Maven
- run: ./mvnw -e -B clean verify -DfoundationDb.serviceContainerNamePrefix=foundationdb
+ run: ./mvnw -e -B -Pprepull-testcontainers-images clean verify -DfoundationDb.serviceContainerNamePrefix=foundationdb
diff --git a/pom.xml b/pom.xml
index 39299f54c..d14182976 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,7 +94,7 @@
2.0.5
0.31.11.RELEASE
-
+
amazon/dynamodb-local:3.3.1@sha256:ff89bd48ff32cd8d9be5fee8873b65b8854dc408f1afe881be6eb00247bc0dab
localstack/localstack:4.14@sha256:3ebc37595918b8accb852f8048fef2aff047d465167edd655528065b07bc364a
redis:7.4-alpine@sha256:6ab0b6e7381779332f97b8ca76193e45b0756f38d4c0dcda72dbb3c32061ab99
@@ -430,6 +430,46 @@
+
+
+
+ prepull-testcontainers-images
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+
+ false
+
+
+ prepull-testcontainers-images
+ initialize
+
+ exec
+
+
+ sh
+
+ -c
+
+ status=0; for image in "$@"; do docker pull -q "$image" || status=1; done; exit $status
+ sh
+ ${redis-cluster.image}
+ ${redis.image}
+ ${dynamodb.image}
+ ${localstack.image}
+
+ true
+
+
+
+
+
+
+