Skip to content

Instantly share code, notes, and snippets.

@OtherDevOpsGene
Last active October 30, 2020 14:48
Show Gist options
  • Save OtherDevOpsGene/e099deabd5b17edd3be4aa62e8159a3e to your computer and use it in GitHub Desktop.
Save OtherDevOpsGene/e099deabd5b17edd3be4aa62e8159a3e to your computer and use it in GitHub Desktop.
Docker command to compile and run the Selenium test
docker run -it --rm --name maven \
-v "$(pwd)":/usr/src/maven \
-v "$HOME/.m2":/root/.m2 \
--workdir /usr/src/maven \
--network selenium_default \
maven:3.6.3-jdk-13 \
mvn clean test -DtestUrl=http://44.55.66.77
@OtherDevOpsGene
Copy link
Author

Replace 44.55.66.77 with your IP address or FQDN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment