Skip to content

Commit ac9e5f0

Browse files
authored
Merge pull request SeleniumHQ#594 from SeleniumHQ/release-3.6.0-copper
3.6.0-copper release
2 parents 2a3df56 + 66a6755 commit ac9e5f0

File tree

19 files changed

+45
-43
lines changed

19 files changed

+45
-43
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Image(s):
33
<!-- node-chrome? hub? standalone-firefox? -->
44
Docker-Selenium Image Version(s):
5-
<!-- 3, 3.4, 3.6.0-bromine etc -->
5+
<!-- 3, 3.4, 3.6.0-copper etc -->
66
Docker Version:
77
<!-- 17.09.0-ce, 17.06.2-ce etc -->
88
OS:

Hub/Dockerfile

Lines changed: 3 additions & 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.6.0-bromine
5+
FROM selenium/base:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER seluser
@@ -29,6 +29,8 @@ ENV GRID_BROWSER_TIMEOUT 0
2929
ENV GRID_TIMEOUT 30
3030
# Debug
3131
ENV GRID_DEBUG false
32+
# As integer, maps to "port"
33+
ENV GRID_HUB_PORT 4444
3234

3335
COPY generate_config \
3436
entry_point.sh \

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.6.0-bromine)
2+
VERSION := $(or $(VERSION),$(VERSION),3.6.0-copper)
33
NAMESPACE := $(or $(NAMESPACE),$(NAMESPACE),$(NAME))
44
AUTHORS := $(or $(AUTHORS),$(AUTHORS),SeleniumHQ)
55
PLATFORM := $(shell uname -s)

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.6.0-bromine
5+
FROM selenium/base:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER root

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.6.0-bromine
5+
FROM selenium/node-base:3.6.0-copper
66
LABEL authors=SeleniumHQ
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.6.0-bromine
5+
FROM selenium/node-chrome:3.6.0-copper
66
LABEL authors=SeleniumHQ
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.6.0-bromine
41+
FROM selenium/node-chrome-debug:3.6.0-copper
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.6.0-bromine
41+
FROM selenium/##BASE##-debug:3.6.0-copper
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.6.0-bromine
5+
FROM selenium/node-base:3.6.0-copper
66
LABEL authors=SeleniumHQ
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.6.0-bromine
5+
FROM selenium/node-firefox:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
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.6.0-bromine
41+
FROM selenium/node-firefox-debug:3.6.0-copper
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.6.0-bromine
5+
FROM selenium/node-base:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER root

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ 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.6.0-bromine
35+
$ docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.6.0-copper
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
3939

4040
When executing docker run for an image with firefox browser please set shm-size to 2g.
4141

4242
``` bash
43-
$ docker run -d -p 4444:4444 --shm-size 2g selenium/standalone-firefox:3.6.0-bromine
43+
$ docker run -d -p 4444:4444 --shm-size 2g selenium/standalone-firefox:3.6.0-copper
4444
```
4545

4646
This is a workaround to node-firefox crash in docker container issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1338771#c10
@@ -49,9 +49,9 @@ This is a workaround to node-firefox crash in docker container issue: https://bu
4949
### Standalone Chrome and Firefox
5050

5151
``` bash
52-
$ docker run -d -p 4444:4444 selenium/standalone-chrome:3.6.0-bromine
52+
$ docker run -d -p 4444:4444 selenium/standalone-chrome:3.6.0-copper
5353
# OR
54-
$ docker run -d -p 4444:4444 selenium/standalone-firefox:3.6.0-bromine
54+
$ docker run -d -p 4444:4444 selenium/standalone-firefox:3.6.0-copper
5555
```
5656

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

6363
``` bash
64-
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.6.0-bromine
65-
$ docker run -d --link selenium-hub:hub selenium/node-chrome:3.6.0-bromine
66-
$ docker run -d --link selenium-hub:hub selenium/node-firefox:3.6.0-bromine
64+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.6.0-copper
65+
$ docker run -d --link selenium-hub:hub selenium/node-chrome:3.6.0-copper
66+
$ docker run -d --link selenium-hub:hub selenium/node-firefox:3.6.0-copper
6767
```
6868

6969
## Configuring the containers
@@ -73,15 +73,15 @@ $ docker run -d --link selenium-hub:hub selenium/node-firefox:3.6.0-bromine
7373
You can pass `JAVA_OPTS` environment variable to java process.
7474

7575
``` bash
76-
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:3.6.0-bromine
76+
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:3.6.0-copper
7777
```
7878

7979
### SE_OPTS Selenium Configuration Options
8080

8181
You can pass `SE_OPTS` variable with additional commandline parameters for starting a hub or a node.
8282

8383
``` bash
84-
$ docker run -d -p 4444:4444 -e SE_OPTS="-debug true" --name selenium-hub selenium/hub:3.6.0-bromine
84+
$ docker run -d -p 4444:4444 -e SE_OPTS="-debug true" --name selenium-hub selenium/hub:3.6.0-copper
8585
```
8686

8787
### HUB_PORT_4444_TCP_ADDR and HUB_PORT_4444_TCP_PORT Selenium Node Configuration options
@@ -90,13 +90,13 @@ You can pass `HUB_PORT_4444_TCP_ADDR` and `HUB_PORT_4444_TCP_PORT` options to pr
9090

9191
``` bash
9292
$ docker run -d -p 4444:4444 -e HUB_PORT_4444_TCP_ADDR=10.10.1.10 -e HUB_PORT_4444_TCP_PORT=4444 \
93-
--name selenium-hub selenium/hub:3.6.0-bromine
93+
--name selenium-hub selenium/hub:3.6.0-copper
9494
```
9595

9696
### PHANTOMJS_OPTS PhantomJS Configuration Options
9797

9898
``` bash
99-
$ docker run -d -e PHANTOMJS_OPTS="--ignore-ssl-errors=true" --link selenium-hub:hub selenium/node-phantomjs:3.6.0-bromine
99+
$ docker run -d -e PHANTOMJS_OPTS="--ignore-ssl-errors=true" --link selenium-hub:hub selenium/node-phantomjs:3.6.0-copper
100100
```
101101

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

124124
``` bash
125-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.6.0-bromine
125+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.6.0-copper
126126
$ CH=$(docker run --rm --name=ch \
127127
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
128-
selenium/node-chrome:3.6.0-bromine)
128+
selenium/node-chrome:3.6.0-copper)
129129
```
130130

131131
_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._
@@ -135,10 +135,10 @@ _Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing brow
135135
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.
136136

137137
``` bash
138-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.6.0-bromine
138+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.6.0-copper
139139
$ FF=$(docker run --rm --name=fx \
140140
--link selenium-hub:hub -v /e2e/uploads:/e2e/uploads \
141-
selenium/node-firefox:3.6.0-bromine)
141+
selenium/node-firefox:3.6.0-copper)
142142
```
143143

144144
_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/)._
@@ -147,28 +147,28 @@ _Note: Since a Docker container is not meant to preserve state and spawning a ne
147147

148148
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:
149149
``` bash
150-
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.6.0-bromine
151-
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.6.0-bromine
150+
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.6.0-copper
151+
$ docker run -d -P -p <port4VNC>:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.6.0-copper
152152
```
153153
e.g.:
154154
``` bash
155-
$ docker run -d -P -p 5900:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.6.0-bromine
156-
$ docker run -d -P -p 5901:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.6.0-bromine
155+
$ docker run -d -P -p 5900:5900 --link selenium-hub:hub selenium/node-chrome-debug:3.6.0-copper
156+
$ docker run -d -P -p 5901:5900 --link selenium-hub:hub selenium/node-firefox-debug:3.6.0-copper
157157
```
158158

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

161161
And for standalone:
162162
``` bash
163-
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-chrome-debug:3.6.0-bromine
163+
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-chrome-debug:3.6.0-copper
164164
# OR
165-
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-firefox-debug:3.6.0-bromine
165+
$ docker run -d -p 4444:4444 -p <port4VNC>:5900 selenium/standalone-firefox-debug:3.6.0-copper
166166
```
167167
or
168168
``` bash
169-
$ docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug:3.6.0-bromine
169+
$ docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug:3.6.0-copper
170170
# OR
171-
$ docker run -d -p 4444:4444 -p 5901:5900 selenium/standalone-firefox-debug:3.6.0-bromine
171+
$ docker run -d -p 4444:4444 -p 5901:5900 selenium/standalone-firefox-debug:3.6.0-copper
172172
```
173173

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

188188
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:
189189
``` dockerfile
190-
#FROM selenium/node-chrome-debug:3.6.0-bromine
191-
#FROM selenium/node-firefox-debug:3.6.0-bromine
190+
#FROM selenium/node-chrome-debug:3.6.0-copper
191+
#FROM selenium/node-firefox-debug:3.6.0-copper
192192
#Choose the FROM statement that works for you.
193193

194194
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.6.0-bromine
5+
FROM selenium/node-chrome:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER seluser

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/node-chrome-debug:3.6.0-bromine
5+
FROM selenium/node-chrome-debug:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER seluser

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.6.0-bromine
5+
FROM selenium/node-firefox:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER seluser

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/node-firefox-debug:3.6.0-bromine
5+
FROM selenium/node-firefox-debug:3.6.0-copper
66
LABEL authors=SeleniumHQ
77

88
USER seluser

sa-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
DEBUG=''
4-
VERSION=${VERSION:-3.6.0-bromine}
4+
VERSION=${VERSION:-3.6.0-copper}
55

66
if [ -n "$1" ] && [ $1 == 'debug' ]; then
77
DEBUG='-debug'

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
DEBUG=''
3-
VERSION=${VERSION:-3.6.0-bromine}
3+
VERSION=${VERSION:-3.6.0-copper}
44

55
if [ -n "$1" ] && [ $1 == 'debug' ]; then
66
DEBUG='-debug'

0 commit comments

Comments
 (0)