Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 authored Nov 2, 2023
1 parent a37dd8d commit d5bdfa0
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docker/README.md
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

0 comments on commit d5bdfa0

Please sign in to comment.