Skip to content

Commit 96766f8

Browse files
committed
upgrade to 3.4.0 actinium
1 parent dea597e commit 96766f8

File tree

20 files changed

+42
-42
lines changed

20 files changed

+42
-42
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN echo "${TZ}" > /etc/timezone \
3636
# Selenium
3737
#==========
3838
RUN mkdir -p /opt/selenium \
39-
&& wget --no-verbose https://selenium-release.storage.googleapis.com/3.3/selenium-server-standalone-3.3.1.jar -O /opt/selenium/selenium-server-standalone.jar
39+
&& wget --no-verbose https://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar -O /opt/selenium/selenium-server-standalone.jar
4040

4141
#========================================
4242
# Add normal user with passwordless sudo

Hub/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/base:3.3.1-cesium
5+
FROM selenium/base:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
#========================

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := selenium
2-
VERSION := $(or $(VERSION),$(VERSION),3.3.1-cesium)
2+
VERSION := $(or $(VERSION),$(VERSION),3.4.0-actinium)
33
PLATFORM := $(shell uname -s)
44
BUILD_ARGS := $(BUILD_ARGS)
55
MAJOR := $(word 1,$(subst ., ,$(VERSION)))

NodeBase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/base:3.3.1-cesium
5+
FROM selenium/base:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
ENV DEBIAN_FRONTEND noninteractive

NodeChrome/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-base:3.3.1-cesium
5+
FROM selenium/node-base:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

NodeChromeDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-chrome:3.3.1-cesium
5+
FROM selenium/node-chrome:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

NodeChromeDebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/node-chrome-debug:3.3.1-cesium
41+
FROM selenium/node-chrome-debug:3.4.0-actinium
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeDebug/README.template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/##BASE##-debug:3.3.1-cesium
41+
FROM selenium/##BASE##-debug:3.4.0-actinium
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodeFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-base:3.3.1-cesium
5+
FROM selenium/node-base:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

NodeFirefoxDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-firefox:3.3.1-cesium
5+
FROM selenium/node-firefox:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

NodeFirefoxDebug/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/node-firefox:3.3.1-cesium
1+
FROM selenium/node-firefox:3.4.0-actinium
22
MAINTAINER Selenium <[email protected]>
33

44
USER root

NodeFirefoxDebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
3838
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
3939

4040
``` dockerfile
41-
FROM selenium/node-firefox-debug:3.3.1-cesium
41+
FROM selenium/node-firefox-debug:3.4.0-actinium
4242

4343
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
4444
```

NodePhantomJS/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-base:3.3.1-cesium
5+
FROM selenium/node-base:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Images included:
3232
When executing docker run for an image with chrome browser please add volume mount `-v /dev/shm:/dev/shm` to use the host's shared memory.
3333

3434
``` bash
35-
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.3.1-cesium
35+
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.4.0-actinium
3636
```
3737

3838
This is a workaround to node-chrome crash in docker container issue: https://code.google.com/p/chromium/issues/detail?id=519952
@@ -41,9 +41,9 @@ This is a workaround to node-chrome crash in docker container issue: https://cod
4141
### Standalone Chrome and Firefox
4242

4343
``` bash
44-
$ docker run -d -p 4444:4444 selenium/standalone-chrome:3.3.1-cesium
44+
$ docker run -d -p 4444:4444 selenium/standalone-chrome:3.4.0-actinium
4545
# OR
46-
$ docker run -d -p 4444:4444 selenium/standalone-firefox:3.3.1-cesium
46+
$ docker run -d -p 4444:4444 selenium/standalone-firefox:3.4.0-actinium
4747
```
4848

4949
_Note: Only one standalone image can run on port_ `4444` _at a time._
@@ -53,9 +53,9 @@ To inspect visually what the browser is doing use the `standalone-chrome-debug`
5353
### Selenium Grid Hub and Nodes
5454

5555
``` bash
56-
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.3.1-cesium
57-
$ docker run -d --link selenium-hub:hub selenium/node-chrome:3.3.1-cesium
58-
$ docker run -d --link selenium-hub:hub selenium/node-firefox:3.3.1-cesium
56+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.4.0-actinium
57+
$ docker run -d --link selenium-hub:hub selenium/node-chrome:3.4.0-actinium
58+
$ docker run -d --link selenium-hub:hub selenium/node-firefox:3.4.0-actinium
5959
```
6060

6161
## Configuring the containers
@@ -65,7 +65,7 @@ $ docker run -d --link selenium-hub:hub selenium/node-firefox:3.3.1-cesium
6565
You can pass `JAVA_OPTS` environment variable to java process.
6666

6767
``` bash
68-
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:3.3.1-cesium
68+
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:3.4.0-actinium
6969
```
7070

7171
### SE_OPTS Selenium Configuration Options
@@ -79,7 +79,7 @@ $ docker run -d -p 4444:4444 -e SE_OPTS="-debug true" --name selenium-hub seleni
7979
### PHANTOMJS_OPTS PhantomJS Configuration Options
8080

8181
``` bash
82-
$ docker run -d -e PHANTOMJS_OPTS="--ignore-ssl-errors=true" --link selenium-hub:hub selenium/node-phantomjs:3.3.1-cesium
82+
$ docker run -d -e PHANTOMJS_OPTS="--ignore-ssl-errors=true" --link selenium-hub:hub selenium/node-phantomjs:3.4.0-actinium
8383
```
8484

8585
You can pass `SE_OPTS` variable with additional commandline parameters for starting a PhantomJS node.
@@ -105,10 +105,10 @@ _Note: Omitting_ `VERSION=local` _will build the images with the current version
105105
##### Example: Spawn a container for testing in Chrome:
106106

107107
``` bash
108-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.3.1-cesium
108+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.4.0-actinium
109109
$ CH=$(docker run --rm --name=ch \
110110
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
111-
selenium/node-chrome:3.3.1-cesium)
111+
selenium/node-chrome:3.4.0-actinium)
112112
```
113113

114114
_Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing browser uploads on your web app you will probably need to share a directory for this._
@@ -118,10 +118,10 @@ _Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing brow
118118
This command line is the same as for Chrome. Remember that the Selenium running container is able to launch either Chrome or Firefox, the idea around having 2 separate containers, one for each browser is for convenience plus avoiding certain `:focus` issues your web app may encounter during end-to-end test automation.
119119

120120
``` bash
121-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.3.1-cesium
121+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.4.0-actinium
122122
$ FF=$(docker run --rm --name=fx \
123123
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
124-
selenium/node-firefox:3.3.1-cesium)
124+
selenium/node-firefox:3.4.0-actinium)
125125
```
126126

127127
_Note: Since a Docker container is not meant to preserve state and spawning a new one takes less than 3 seconds you will likely want to remove containers after each end-to-end test with_ `--rm` _command. You need to think of your Docker containers as single processes, not as running virtual machines, in case you are familiar with [Vagrant](https://www.vagrantup.com/)._
@@ -130,28 +130,28 @@ _Note: Since a Docker container is not meant to preserve state and spawning a ne
130130

131131
In the event you wish to visually see what the browser is doing you will want to run the `debug` variant of node or standalone images. A VNC server will run on port 5900. You are free to map that to any free external port that you wish. Example: <port4VNC>: 5900) you will only be able to run 1 node per port so if you wish to include a second node, or more, you will have to use different ports, the 5900 as the internal port will have to remain the same though as thats the VNC service on the node. The second example below shows how to run multiple nodes and with different VNC ports open:
132132
``` bash
133-
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.3.1-cesium
134-
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.3.1-cesium
133+
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.4.0-actinium
134+
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.4.0-actinium
135135
```
136136
e.g.:
137137
``` bash
138-
$ docker run -d -P -p 5900:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.3.1-cesium
139-
$ docker run -d -P -p 5901:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.3.1-cesium
138+
$ docker run -d -P -p 5900:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.4.0-actinium
139+
$ docker run -d -P -p 5901:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.4.0-actinium
140140
```
141141

142142
to connect to the Chrome node on 5900 and the Firefox node on 5901 (assuming those node are free, and reachable).
143143

144144
And for standalone:
145145
``` bash
146-
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-chrome-debug:3.3.1-cesium
146+
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-chrome-debug:3.4.0-actinium
147147
# OR
148-
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-firefox-debug:3.3.1-cesium
148+
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-firefox-debug:3.4.0-actinium
149149
```
150150
or
151151
``` bash
152-
$ docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug:3.3.1-cesium
152+
$ docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug:3.4.0-actinium
153153
# OR
154-
$ docker run -d -p 4444:4444 -p 5901:5900 selenium/standalone-firefox-debug:3.3.1-cesium
154+
$ docker run -d -p 4444:4444 -p 5901:5900 selenium/standalone-firefox-debug:3.4.0-actinium
155155
```
156156

157157
You can acquire the port that the VNC server is exposed to by running:
@@ -170,8 +170,8 @@ If you are running [Boot2Docker](https://docs.docker.com/installation/mac/) on O
170170

171171
When you are prompted for the password it is `secret`. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a Docker image that derives from the posted ones which reconfigures it:
172172
``` dockerfile
173-
#FROM selenium/node-chrome-debug:3.3.1-cesium
174-
#FROM selenium/node-firefox-debug:3.3.1-cesium
173+
#FROM selenium/node-chrome-debug:3.4.0-actinium
174+
#FROM selenium/node-firefox-debug:3.4.0-actinium
175175
#Choose the FROM statement that works for you.
176176

177177
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd

StandaloneChrome/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-chrome:3.3.1-cesium
5+
FROM selenium/node-chrome:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

StandaloneChromeDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/standalone-chrome:3.3.1-cesium
5+
FROM selenium/standalone-chrome:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

StandaloneFirefox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/node-firefox:3.3.1-cesium
5+
FROM selenium/node-firefox:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

StandaloneFirefoxDebug/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED.
33
# PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE
44
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
FROM selenium/standalone-firefox:3.3.1-cesium
5+
FROM selenium/standalone-firefox:3.4.0-actinium
66
MAINTAINER Selenium <[email protected]>
77

88
USER root

sa-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function test_standalone {
1313
BROWSER=$1
1414
echo Starting Selenium standalone-$BROWSER$DEBUG container
1515

16-
SA=$(docker run -d selenium/standalone-$BROWSER$DEBUG:3.3.1-cesium)
16+
SA=$(docker run -d selenium/standalone-$BROWSER$DEBUG:3.4.0-actinium)
1717
SA_NAME=$(docker inspect -f '{{ .Name }}' $SA | sed s:/::)
1818
TEST_CMD="node smoke-$BROWSER.js"
1919

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
DEBUG=''
3-
VERSION=${VERSION:-3.3.1-cesium}
3+
VERSION=${VERSION:-3.4.0-actinium}
44

55
if [ -n "$1" ] && [ $1 == 'debug' ]; then
66
DEBUG='-debug'
@@ -24,7 +24,7 @@ echo Building test container image
2424
docker build -t selenium/test:local ./Test
2525

2626
echo 'Starting Selenium Hub Container...'
27-
HUB=$(docker run -d selenium/hub:3.3.1-cesium)
27+
HUB=$(docker run -d selenium/hub:3.4.0-actinium)
2828
HUB_NAME=$(docker inspect -f '{{ .Name }}' $HUB | sed s:/::)
2929
echo 'Waiting for Hub to come online...'
3030
docker logs -f $HUB &

0 commit comments

Comments
 (0)