Automatically pull dependent image when running Zalenium from docker-compose.yml Automatically pull dependent image when running Zalenium from docker-compose.yml selenium selenium

Automatically pull dependent image when running Zalenium from docker-compose.yml


Add a new service

  dep:    image: elgalu/selenium    command: echo 0    restart: "no" # ensures it does not get recreated

Add this to Zalenium

  depends_on:       - selenium       - dep # ensures pull/launch order


The image can be pulled automatically if you specify the environment variable

PULL_SELENIUM_IMAGE=true