Skip to content

Commit

Permalink
Add script to run tests on mac with podman
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed May 10, 2024
1 parent 9b9e89b commit 86f0615
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test-on-mac-with-podman.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

# As documented here https://java.testcontainers.org/supported_docker_environment/#podman

export DOCKER_HOST=unix://$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}')
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export TESTCONTAINERS_RYUK_DISABLED=true

./gradlew --info test

0 comments on commit 86f0615

Please sign in to comment.