Skip to content

Instantly share code, notes, and snippets.

@lprimak
Last active February 9, 2024 06:57
Show Gist options
  • Save lprimak/9456e5757a8c729bf95d2ed5fc0e9f46 to your computer and use it in GitHub Desktop.
Save lprimak/9456e5757a8c729bf95d2ed5fc0e9f46 to your computer and use it in GitHub Desktop.
run arquillian test suite with docker and latest JDK and payara
mvnd verify -P-payara-server-remote -Dmaven.compiler.release=21 -DimageName=payara/server-full:6.2023.12-jdk21
# start docker with host-wide networking and access to socket
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock --net=host runner
# Test with k8s Payara:
mvnd verify -Ppayara-k8s -DadminHost=10.0.62.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment