Based on tvial/behat with some modifications
- removing behat user
- replacing reference to /home/behat with just /behat
- different set of dependencies in composer
Details could be reviewed in here: https://github.com/Krzysiaczek/docker-behat
Selenium webdriver didn't work for me in that case so I used Standalone Selenium Java server running on krzysiaczek/selenium.
Docker Pull Command