-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Dokerfile for Cerberus nodes | ||
|
||
You can use those Dockerfiles in order to build your own image. | ||
|
||
## Parameters | ||
|
||
They all support those 2 build parameters in order to specify the VNC Password to use and the version of the robot extension to use | ||
|
||
* VNC_PASSWORD=XXXXXXXX | ||
* CERBERUS_ROBOT_EXTENSION_VERSION=1.7.1 | ||
|
||
## List of available images | ||
|
||
| image | Description | | ||
| --- | --- | | ||
| nodeChrome | **Chrome** Selenium node. Based on **Selenium 3**. Will build against **latest** available version of Chrome. | | ||
| nodeFirefox | **Firefox** Selenium node. Based on **Selenium 3**. Will build against **latest** available version of Chrome. | | ||
|
||
## Instruction on how to build your own image: | ||
|
||
docker build -t my-chrome-node:latest \ | ||
--build-arg="VNC_PASSWORD=XXXXXXX" --build-arg="CERBERUS_ROBOT_EXTENSION_VERSION=XXXXXXXXX" \ | ||
PATH_TO_DOCKERFILE_FOLDER | ||
|
||
Examples : | ||
|
||
Chrome image with VNC debug password to 1OA1GjLv3PCTou48 and Cerberus Robot Extension to latest SNAPSHOT | ||
|
||
docker build -t my-chrome-node:latest \ | ||
--build-arg="VNC_PASSWORD=1OA1GjLv3PCTou48" --build-arg="CERBERUS_ROBOT_EXTENSION_VERSION=SNAPSHOT" \ | ||
PATH_TO_DOCKERFILE_FOLDER | ||
|
||
Firefox image with VNC debug password to 1OA1GjLv3PCTou48 and Cerberus Robot Extension to latest 1.7.1 | ||
|
||
docker build -t my-chrome-node:latest \ | ||
--build-arg="VNC_PASSWORD=1OA1GjLv3PCTou48" --build-arg="CERBERUS_ROBOT_EXTENSION_VERSION=1.7.1" \ | ||
PATH_TO_DOCKERFILE_FOLDER |