Skip to content

Building your own images

Dj edited this page Oct 10, 2016 · 7 revisions

These docker containers provided by SeleniumHQ are designed with an intention of you, the user, building your own images if you need more finely tuned specifications.

By default, the docker containers are released with the intention to be used right out-of-the-gate with a stable ChromeDriver version, GeckoDriver version, Firefox and Chrome versions that are copacetic.

How to

You are able to utilize our Makefile to build your own images with your own finely tuned configurations.

Specify ChromeDriver and Chrome versions

$ BUILD_ARGS="--build-arg CHROME_DRIVER_VERSION=2.23 --build-arg CHROME_VERSION=google-chrome-beta=53.0.2785.92-1" make chrome chrome_debug standalone_chrome
#=> builds all chrome images with specific versioning of ChromeDriver, and Chrome.  (NOTE: these versions specified *MUST* be compatible, otherwise you will see errors.

Specify Firefox version

$ BUILD_ARGS="--build-arg FIREFOX_VERSION=49.0.2" make firefox firefox_debug standalone_firefox
#=> builds all firefox images with a specific version of firefox.  (NOTE: 3.0.0 introduces GeckoDriver, and might need to be specified as well
Clone this wiki locally