docker run hello-world
version: '3'
services:
chrome:
image: selenium/standalone-chrome:latest
environment:
- JAVA_OPTS=-Dselenium.LOGGER.level=WARNING
agent:
image: functionaltesting/silktest:latest
environment:
- SILK_LICENSE_SERVER=lnz-lic1.microfocus.com
- SILK_LOG_FILE_PATH=/logs
depends_on:
- chrome
links:
- chrome
volumes:
- /home/<user name>/projects/logs:/logs
tests-runner:
image: webratio/ant:1.10.1
volumes:
- /home/<user name>/InsuranceWeb:/tmp/project
command: ["ant", "-DagentRmiHost=agent:22902", "-Dsilktest.configurationName=host=http://chrome:4444/wd/hub;platformName=Linux - GoogleChrome", "-buildfile", "/tmp/project/build.xml", "runTests"]
depends_on:
- agent
links:
- agent
docker-compose pull
docker-compose up --abort-on-container-exit
docker-compose down
docker-compose pull && docker-compose up --abort-on-container-exit && docker-compose down