Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit dea7c6d

Browse files
committed
Upgrade Firefox to 41.0.1, Chrome 45.0.2454.101. Improve SIGKILL
1 parent 95bd73d commit dea7c6d

File tree

18 files changed

+102
-68
lines changed

18 files changed

+102
-68
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,29 @@ How to get container versions
1313
google-chrome-unstable --version && echo "\n"
1414
sc | grep build && BrowserStackLocal -version
1515

16+
## 2.47.1m (2015-10-04)
17+
+ Upgrade Firefox to 41.0.1, Chrome 45.0.2454.101 and other flavors.
18+
+ Minor improvements by using SIGTERM instead of SIGKILL.
19+
+ Image tag details:
20+
+ Selenium: v2.47.1 (411b314)
21+
+ Chrome stable: 45.0.2454.101
22+
+ Chrome beta: 46.0.2490.52
23+
+ Chrome dev (unstable): 47.0.2522.1
24+
+ Firefox versions in this image:
25+
41.0.1 40.0.3 39.0.3 38.0.6 37.0.2 36.0.4
26+
35.0.1 34.0.5 33.0.3 32.0.3 31.0 30.0
27+
29.0.1 28.0 27.0.1 26.0 25.0.1 24.0
28+
+ Chromedriver: 2.19.346067 (6abd8652f8bc7a1d825962003ac88ec6a37a82f1)
29+
+ Java: 1.8.0_66-internal OpenJDK 64-Bit 1.8.0_66-b01
30+
+ Timezone: Europe/Berlin
31+
+ Built with: Docker version 1.8.2, build 0a8c2e3
32+
+ FROM ubuntu:wily-20150829
33+
+ Python: 2.7.10
34+
+ Sauce Connect 4.3.11, build 1757 2b421bb
35+
+ BrowserStack Local version 3.8
36+
+ Image ID: TBD
37+
+ Digest: sha256:TBD
38+
1639
## 2.47.1l (2015-09-23)
1740
+ Upgrade Firefox to 41.0, Chrome 45.0.2454.99 and other flavors.
1841
+ Image tag details:

Dockerfile

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ RUN cd ${NORMAL_USER_HOME}/firefox-src \
445445
#------------------------------#
446446
# FIREFOX_VERSIONS: 33, 34, 35 #
447447
#------------------------------#
448-
ENV FIREFOX_VERSIONS2 "33.0.3, 34.0.5, 35.0.1"
448+
ENV FIREFOX_VERSIONS3 "33.0.3, 34.0.5, 35.0.1"
449449
RUN cd ${NORMAL_USER_HOME}/firefox-src \
450-
&& for FF_VER in $(echo ${FIREFOX_VERSIONS2} | tr "," "\n"); do \
450+
&& for FF_VER in $(echo ${FIREFOX_VERSIONS3} | tr "," "\n"); do \
451451
mozdownload --application=firefox \
452452
--locale=${FF_LANG} --retry-attempts=1 \
453453
--platform=linux64 --log-level=WARN --version=${FF_VER} \
@@ -462,11 +462,9 @@ RUN cd ${NORMAL_USER_HOME}/firefox-src \
462462
#------------------------------#
463463
# FIREFOX_VERSIONS: 36, 37, 38 #
464464
#------------------------------#
465-
# Latest available firefox version
466-
# ENV FIREFOX_LATEST_VERSION latest #this also wors
467-
ENV FIREFOX_VERSIONS3 "36.0.4, 37.0.2, 38.0.6"
465+
ENV FIREFOX_VERSIONS4 "36.0.4, 37.0.2, 38.0.6"
468466
RUN cd ${NORMAL_USER_HOME}/firefox-src \
469-
&& for FF_VER in $(echo ${FIREFOX_VERSIONS3} | tr "," "\n"); do \
467+
&& for FF_VER in $(echo ${FIREFOX_VERSIONS4} | tr "," "\n"); do \
470468
mozdownload --application=firefox \
471469
--locale=${FF_LANG} --retry-attempts=1 \
472470
--platform=linux64 --log-level=WARN --version=${FF_VER} \
@@ -481,9 +479,9 @@ RUN cd ${NORMAL_USER_HOME}/firefox-src \
481479
#---------------------#
482480
# FIREFOX_VERSIONS 39 #
483481
#---------------------#
484-
ENV FIREFOX_VERSIONS3 "39.0.3"
482+
ENV FIREFOX_VERSIONS5 "39.0.3"
485483
RUN cd ${NORMAL_USER_HOME}/firefox-src \
486-
&& for FF_VER in $(echo ${FIREFOX_VERSIONS3} | tr "," "\n"); do \
484+
&& for FF_VER in $(echo ${FIREFOX_VERSIONS5} | tr "," "\n"); do \
487485
mozdownload --application=firefox \
488486
--locale=${FF_LANG} --retry-attempts=1 \
489487
--platform=linux64 --log-level=WARN --version=${FF_VER} \
@@ -526,11 +524,9 @@ RUN cd /tmp \
526524
#---------------------#
527525
# FIREFOX_VERSIONS 40 #
528526
#---------------------#
529-
# Latest available firefox version
530-
# ENV FIREFOX_LATEST_VERSION latest #this also wors
531-
ENV FIREFOX_VERSIONS3 "40.0.3"
527+
ENV FIREFOX_VERSIONS6 "40.0.3"
532528
RUN cd ${NORMAL_USER_HOME}/firefox-src \
533-
&& for FF_VER in $(echo ${FIREFOX_VERSIONS3} | tr "," "\n"); do \
529+
&& for FF_VER in $(echo ${FIREFOX_VERSIONS6} | tr "," "\n"); do \
534530
mozdownload --application=firefox \
535531
--locale=${FF_LANG} --retry-attempts=1 \
536532
--platform=linux64 --log-level=WARN --version=${FF_VER} \
@@ -546,10 +542,10 @@ RUN cd ${NORMAL_USER_HOME}/firefox-src \
546542
# FIREFOX_VERSIONS 41 #
547543
#---------------------#
548544
# Latest available firefox version
549-
# ENV FIREFOX_LATEST_VERSION latest #this also wors
550-
ENV FIREFOX_VERSIONS3 "41.0"
545+
# this also works: ENV FIREFOX_LATEST_VERSION latest
546+
ENV FIREFOX_VERSIONS7 "41.0.1"
551547
RUN cd ${NORMAL_USER_HOME}/firefox-src \
552-
&& for FF_VER in $(echo ${FIREFOX_VERSIONS3} | tr "," "\n"); do \
548+
&& for FF_VER in $(echo ${FIREFOX_VERSIONS7} | tr "," "\n"); do \
553549
mozdownload --application=firefox \
554550
--locale=${FF_LANG} --retry-attempts=1 \
555551
--platform=linux64 --log-level=WARN --version=${FF_VER} \
@@ -733,10 +729,10 @@ COPY ./dns/etc/hosts /tmp/hosts
733729
#======
734730
# Envs
735731
#======
736-
ENV FIREFOX_VERSIONS="${FIREFOX_VERSIONS1}, ${FIREFOX_VERSIONS2}, ${FIREFOX_VERSIONS3}" \
732+
ENV FIREFOX_VERSIONS="${FIREFOX_VERSIONS1}, ${FIREFOX_VERSIONS2}, ${FIREFOX_VERSIONS3}, ${FIREFOX_VERSIONS4}, ${FIREFOX_VERSIONS5}, ${FIREFOX_VERSIONS6}, ${FIREFOX_VERSIONS7}" \
737733
# Firefox version to use during run
738734
# For firefox please pick one of $FIREFOX_VERSIONS, default latest
739-
FIREFOX_VERSION="41.0" \
735+
FIREFOX_VERSION="${FIREFOX_VERSIONS7}" \
740736
# Default chrome flavor, options: stable|beta|unstable
741737
CHROME_FLAVOR="stable" \
742738
# User and home
@@ -855,6 +851,19 @@ ENV FIREFOX_VERSIONS="${FIREFOX_VERSIONS1}, ${FIREFOX_VERSIONS2}, ${FIREFOX_VERS
855851
SHM_SIZE="512M" \
856852
# When docker run --net=host the network name may be different
857853
ETHERNET_DEVICE_NAME="eth0" \
854+
# Supervisord stop signals
855+
SSHD_STOP_SIGNAL="TERM" \
856+
XMANAGER_STOP_SIGNAL="TERM" \
857+
XVFB_STOP_SIGNAL="TERM" \
858+
XTERM_STOP_SIGNAL="INT" \
859+
SELENIUM_NODE_FIREFOX_STOP_SIGNAL="TERM" \
860+
SELENIUM_NODE_CHROME_STOP_SIGNAL="TERM" \
861+
SELENIUM_HUB_STOP_SIGNAL="TERM" \
862+
VNC_STOP_SIGNAL="TERM" \
863+
NOVNC_STOP_SIGNAL="TERM" \
864+
VIDEO_REC_STOP_SIGNAL="INT" \
865+
BROWSERSTACK_STOP_SIGNAL="INT" \
866+
SAUCELABS_STOP_SIGNAL="INT" \
858867
# Java stuff
859868
# MEM_JAVA="1024m" \
860869
#===============================

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* google-chrome-stable
66
* google-chrome-beta
77
* google-chrome-unstable
8-
* firefox stable latest 17 versions
8+
* firefox stable latest 18 versions
99
* VNC access (useful for debugging the container)
1010
* mkv video recording
1111
* fluxbox or openbox (lightweight window managers)
@@ -20,7 +20,7 @@ Note SeleniumHQ/docker-selenium project is more useful for building selenium gri
2020
In general add `sudo` only if needed in your environment and `--privileged` or `-v /dev/shm:/dev/shm` if you really need it like when [Chrome crashes](https://github.com/elgalu/docker-selenium/issues/20) during your high gpu intensive tests.
2121

2222
docker run --rm --name=grid -p 4444:24444 -p 5920:25900 \
23-
-v /dev/shm:/dev/shm -e VNC_PASSWORD=hola elgalu/selenium:2.47.1l
23+
-v /dev/shm:/dev/shm -e VNC_PASSWORD=hola elgalu/selenium:2.47.1m
2424

2525
Make sure `docker run` finishes with **selenium all done and ready for testing** else you won't be able to start your tests. To perform this check programatically please use this command where `grid` is the name of the container:
2626

@@ -83,7 +83,7 @@ You need to pass the environment variable `-e NOVNC=true` in order to start the
8383

8484
docker run --rm --name=grid -p 4444:24444 -p 5920:25900 \
8585
-e NOVNC=true \
86-
elgalu/selenium:2.47.1l
86+
elgalu/selenium:2.47.1m
8787

8888
If the VNC password was randomly generated find out with
8989

@@ -96,7 +96,7 @@ If the VNC password was randomly generated find out with
9696
You can launch a grid only container via environment variables:
9797

9898
docker run --rm --name=hub -p 4444:24444 -p 5930:25900 \
99-
-e CHROME=false -e FIREFOX=false elgalu/selenium:2.47.1l
99+
-e CHROME=false -e FIREFOX=false elgalu/selenium:2.47.1m
100100

101101
The important part above is `-e CHROME=false -e FIREFOX=false` which tells the docker image not run run default chorme and firefox nodes turning the container into a grid-only one.
102102

@@ -110,7 +110,7 @@ You can lunch a node only container via environment variables:
110110
-e SELENIUM_HUB_PORT=4444 \
111111
-e SELENIUM_NODE_HOST=docker.host \
112112
-e GRID=false -e CHROME=true -e FIREFOX=true \
113-
elgalu/selenium:2.47.1l
113+
elgalu/selenium:2.47.1m
114114

115115
The important part above is `-e GRID=false` which tells the container to be a node-only node, this this case with 2 browsers `-e CHROME=true -e FIREFOX=true` but could be just 1.
116116

@@ -124,7 +124,7 @@ Start the grid with Chrome and Firefox
124124
-e SELENIUM_NODE_CH_PORT=25010 -e SELENIUM_NODE_FF_PORT=26010 \
125125
-e GRID=true -e CHROME=true -e FIREFOX=true \
126126
-e VNC_PASSWORD=hola -e VNC_PORT=5810 \
127-
-v /dev/shm:/dev/shm elgalu/selenium:2.47.1l
127+
-v /dev/shm:/dev/shm elgalu/selenium:2.47.1m
128128

129129
Add another docker container node with 2 more browsers:
130130

@@ -134,7 +134,7 @@ Add another docker container node with 2 more browsers:
134134
-e SELENIUM_NODE_CH_PORT=25020 -e SELENIUM_NODE_FF_PORT=26020 \
135135
-e GRID=false -e CHROME=true -e FIREFOX=true \
136136
-e VNC_PASSWORD=hola -e VNC_PORT=5820 \
137-
-v /dev/shm:/dev/shm elgalu/selenium:2.47.1l
137+
-v /dev/shm:/dev/shm elgalu/selenium:2.47.1m
138138

139139
And another
140140

@@ -144,7 +144,7 @@ And another
144144
-e SELENIUM_NODE_CH_PORT=25030 -e SELENIUM_NODE_FF_PORT=26030 \
145145
-e GRID=false -e CHROME=true -e FIREFOX=true \
146146
-e VNC_PASSWORD=hola -e VNC_PORT=5830 \
147-
-v /dev/shm:/dev/shm elgalu/selenium:2.47.1l
147+
-v /dev/shm:/dev/shm elgalu/selenium:2.47.1m
148148

149149
## Chrome crashed
150150

@@ -183,9 +183,9 @@ There are also additional steps you can take to ensure you're using the correct
183183

184184
You can simply verify that image id is indeed the correct one.
185185

186-
# e.g. full image id for tag 2.47.1l
187-
export IMGID=c8be1422d08f6a84f78f866a4c0827c2efd5d88efe11dfbd245bc3ca21288e84
188-
if docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1l |grep ${IMGID} &> /dev/null; then
186+
# e.g. full image id for tag 2.47.1m
187+
export IMGID=TBD
188+
if docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1m |grep ${IMGID} &> /dev/null; then
189189
echo "Image ID tested ok"
190190
else
191191
echo "Image ID doesn't match"
@@ -195,8 +195,8 @@ You can simply verify that image id is indeed the correct one.
195195

196196
Given docker.io currently allows to push the same tag image twice this represent a security concern but since docker >= 1.6.2 is possible to fetch the digest sha256 instead of the tag so you can be sure you're using the exact same docker image every time:
197197

198-
# e.g. sha256 for tag 2.47.1l
199-
export SHA=158b215f055011d9de0d5783de08e111a3fec9acdbf4a9f75570eb60d92a9a44
198+
# e.g. sha256 for tag 2.47.1m
199+
export SHA=TBD
200200
docker pull elgalu/selenium@sha256:${SHA}
201201

202202
You can find all digests sha256 and image ids per tag in the [CHANGELOG](./CHANGELOG.md) so as of now you just need to trust the sha256 in the CHANGELOG. Bullet proof is to fork this project and build the images yourself if security is a big concern.
@@ -221,7 +221,7 @@ Host machine, terminal 2:
221221
docker run --rm --name=ch -p=4444:24444 \
222222
-e SCREEN_WIDTH -e SCREEN_HEIGHT -e XE_DISP_NUM \
223223
-v /tmp/.X11-unix/X${XE_DISP_NUM}:/tmp/.X11-unix/X${XE_DISP_NUM} \
224-
elgalu/selenium:2.47.1l
224+
elgalu/selenium:2.47.1m
225225

226226
Now when you run your tests instead of connecting. If docker run fails try `xhost +`
227227

@@ -243,7 +243,7 @@ ANYPORT=0
243243
REMOTE_DOCKER_SRV=localhost
244244
CONTAINER=$(docker run -d -p=0.0.0.0:${ANYPORT}:22222 -p=0.0.0.0:${ANYPORT}:24444 \
245245
-p=0.0.0.0:${ANYPORT}:25900 -e SCREEN_HEIGHT=1110 -e VNC_PASSWORD=hola \
246-
-e SSH_AUTH_KEYS="$(cat ~/.ssh/id_rsa.pub)" elgalu/selenium:2.47.1l
246+
-e SSH_AUTH_KEYS="$(cat ~/.ssh/id_rsa.pub)" elgalu/selenium:2.47.1m
247247
248248
# -- Option 2.docker run- Running docker on remote docker server like in the cloud
249249
# Useful if the docker server is running in the cloud. Establish free local ports
@@ -253,7 +253,7 @@ ssh ${REMOTE_DOCKER_SRV} #get into the remote docker provider somehow
253253
# it acts as a jump host so my public key is already on that server
254254
CONTAINER=$(docker run -d -p=0.0.0.0:${ANYPORT}:22222 -e SCREEN_HEIGHT=1110 \
255255
-e VNC_PASSWORD=hola -e SSH_AUTH_KEYS="$(cat ~/.ssh/authorized_keys)" \
256-
elgalu/selenium:2.47.1l
256+
elgalu/selenium:2.47.1m
257257
258258
# -- Common: Wait for the container to start
259259
./host-scripts/wait-docker-selenium.sh grid 7s
@@ -324,7 +324,7 @@ If you git clone this repo locally, i.e. cd into where the Dockerfile is, you ca
324324
325325
If you prefer to download the final built image from docker you can pull it, personally I always prefer to build them manually except for the base images like Ubuntu 14.04.2:
326326
327-
docker pull elgalu/selenium:2.47.1l
327+
docker pull elgalu/selenium:2.47.1m
328328
329329
#### 2. Use this image
330330

READMELeo.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
## Build
22

3-
time (docker build -t="elgalu/selenium:2.47.1l" . ;echo $?;beep)
4-
docker run --rm -ti -m 4000M --cpu-quota=0 --name=grid -p=4470:24444 -p=5920:25900 -p=2222:22222 -e DISABLE_ROLLBACK=true -e VIDEO=true -e MEM_JAVA="1024m" -e SSH_AUTH_KEYS="$(cat ~/.ssh/id_rsa.pub)" -v $(pwd)/videos:/videos -v /dev/shm:/dev/shm elgalu/selenium:2.47.1l
3+
time (docker build -t="elgalu/selenium:2.47.1m" . ;echo $?;beep)
4+
docker run --rm -ti -m 4000M --cpu-quota=0 --name=grid -p=4470:24444 -p=5920:25900 -p=2222:22222 -e DISABLE_ROLLBACK=true -e VIDEO=false -e MEM_JAVA="1024m" -e SSH_AUTH_KEYS="$(cat ~/.ssh/id_rsa.pub)" -v $(pwd)/videos:/videos -v /dev/shm:/dev/shm elgalu/selenium:2.47.1m
55

66
Build a grid with extra nodes
77

8-
docker run --rm --name=grid -p 4444:24444 -p 5920:25900 -v /dev/shm:/dev/shm -e VNC_PASSWORD=hola elgalu/selenium:2.47.1l
8+
docker run --rm --name=grid -p 4444:24444 -p 5920:25900 -v /dev/shm:/dev/shm -e VNC_PASSWORD=hola elgalu/selenium:2.47.1m
99

10-
docker run --rm --name=node -e DISP_N=13 -e SSHD_PORT=22223 -e SUPERVISOR_HTTP_PORT=29003 -e VNC_PORT=25903 -e SELENIUM_NODE_CH_PORT=25330 -e SELENIUM_NODE_FF_PORT=25331 -e GRID=false -e CHROME=true -e FIREFOX=true --net=container:grid elgalu/selenium:2.47.1l
10+
docker run --rm --name=node -e DISP_N=13 -e SSHD_PORT=22223 -e SUPERVISOR_HTTP_PORT=29003 -e VNC_PORT=25903 -e SELENIUM_NODE_CH_PORT=25330 -e SELENIUM_NODE_FF_PORT=25331 -e GRID=false -e CHROME=true -e FIREFOX=true --net=container:grid elgalu/selenium:2.47.1m
1111

1212
See logs
1313

1414
docker exec -ti grid bash -c "ls -lah /var/log/sele/"
1515

1616
Testing in ssh [email protected]
1717

18-
docker run --rm --name=grid -p=4470:24444 -p=5920:25900 -p=2222:22222 -e SSH_AUTH_KEYS="$(cat ~/.ssh/authorized_keys)" -e VNC_PASSWORD=Hola3 os-registry.stups.zalan.do/tip/selenium:2.47.1l
18+
docker run --rm --name=grid -p=4470:24444 -p=5920:25900 -p=2222:22222 -e SSH_AUTH_KEYS="$(cat ~/.ssh/authorized_keys)" -e VNC_PASSWORD=Hola3 os-registry.stups.zalan.do/tip/selenium:2.47.1m
1919

2020
## Transfer used browser source artifacts to keep them in the cloud
2121

@@ -38,18 +38,18 @@ List firefox versions via docker exe
3838

3939
## To update image id and digest
4040

41-
docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1l
41+
docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1m
4242
docker images --digests
4343

4444
## Run with shared dir
4545

4646
docker run --rm --name=grid -p=127.0.0.1:4460:24444 -p=127.0.0.1:5910:25900 \
47-
-v /e2e/uploads:/e2e/uploads elgalu/selenium:2.47.1l
47+
-v /e2e/uploads:/e2e/uploads elgalu/selenium:2.47.1m
4848
docker run --rm --name=grid -p=4460:24444 -p=5910:25900 \
49-
-v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):$(which docker) elgalu/selenium:2.47.1l
49+
-v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):$(which docker) elgalu/selenium:2.47.1m
5050

5151

52-
docker run --rm --name=ff -p=127.0.0.1:4461:24444 -p=127.0.0.1:5911:25900 -v /e2e/uploads:/e2e/uploads elgalu/selenium:2.47.1l
52+
docker run --rm --name=ff -p=127.0.0.1:4461:24444 -p=127.0.0.1:5911:25900 -v /e2e/uploads:/e2e/uploads elgalu/selenium:2.47.1m
5353

5454
## Run without shared dir and bind ports to all network interfaces
5555

@@ -72,11 +72,11 @@ List firefox versions via docker exe
7272
## Run without dir and bind to all interfaces
7373
Note anything after the image will be taken as arguments for the cmd/entrypoint
7474

75-
docker run --rm --name=grid -p=0.0.0.0:8813:8484 -p=0.0.0.0:2222:2222 -p=0.0.0.0:4470:24444 -p=0.0.0.0:5920:25900 -e SCREEN_WIDTH=1800 -e SCREEN_HEIGHT=1110 -e VNC_PASSWORD=hola -e SSH_AUTH_KEYS="$(cat ~/.ssh/id_rsa.pub)" elgalu/selenium:2.47.1l
75+
docker run --rm --name=grid -p=0.0.0.0:8813:8484 -p=0.0.0.0:2222:2222 -p=0.0.0.0:4470:24444 -p=0.0.0.0:5920:25900 -e SCREEN_WIDTH=1800 -e SCREEN_HEIGHT=1110 -e VNC_PASSWORD=hola -e SSH_AUTH_KEYS="$(cat ~/.ssh/id_rsa.pub)" elgalu/selenium:2.47.1m
7676

77-
docker run --rm --name=grid -p=4470:24444 -p=5920:25900 -e VNC_PASSWORD=hola elgalu/selenium:2.47.1l
78-
docker run --rm --name=grid -p=4470:24444 -p=5920:25900 -e VNC_PASSWORD=hola docker.io/elgalu/selenium:2.47.1l
79-
docker run --rm --name=grid -p=0.0.0.0:4470:24444 -p=0.0.0.0:5920:25900 --add-host myserver.dev:172.17.42.1 elgalu/selenium:2.47.1l
77+
docker run --rm --name=grid -p=4470:24444 -p=5920:25900 -e VNC_PASSWORD=hola elgalu/selenium:2.47.1m
78+
docker run --rm --name=grid -p=4470:24444 -p=5920:25900 -e VNC_PASSWORD=hola docker.io/elgalu/selenium:2.47.1m
79+
docker run --rm --name=grid -p=0.0.0.0:4470:24444 -p=0.0.0.0:5920:25900 --add-host myserver.dev:172.17.42.1 elgalu/selenium:2.47.1m
8080

8181
However adding a custom host IP to server-selenium.local (e.g. bsele ssh config) is more work:
8282

@@ -85,32 +85,32 @@ However adding a custom host IP to server-selenium.local (e.g. bsele ssh config)
8585

8686
vncv localhost:5920 -Scaling=60% &
8787

88-
docker run --rm --name=ff -p=0.0.0.0:4471:24444 -p=0.0.0.0:5921:25900 elgalu/selenium:2.47.1l
88+
docker run --rm --name=ff -p=0.0.0.0:4471:24444 -p=0.0.0.0:5921:25900 elgalu/selenium:2.47.1m
8989

9090
Automatic builds not working for me right now, maybe there is an issue with docker registry v1 vs v2
9191
https://registry.hub.docker.com/u/elgalu/docker-selenium/builds_history/31621/
9292

9393
## Push version
9494

9595
docker login
96-
docker push docker.io/elgalu/selenium:2.47.1l ;echo $?;beep
97-
docker tag elgalu/selenium:2.47.1l elgalu/selenium:latest
96+
docker push docker.io/elgalu/selenium:2.47.1m ;echo $?;beep
97+
docker tag elgalu/selenium:2.47.1m elgalu/selenium:latest
9898
docker push docker.io/elgalu/selenium:latest
9999

100100
Not working maybe because it has automated builds enabled but then it fails in the cloud but works locally
101101
https://registry.hub.docker.com/u/elgalu/selenium/tags/manage/
102102

103-
docker push elgalu/selenium:2.47.1l
104-
docker push elgalu/docker-selenium:2.47.1l
105-
docker push docker.io/elgalu/docker-selenium:2.47.1l
103+
docker push elgalu/selenium:2.47.1m
104+
docker push elgalu/docker-selenium:2.47.1m
105+
docker push docker.io/elgalu/docker-selenium:2.47.1m
106106

107107
## Pulling
108108

109-
docker pull registry.hub.docker.com/elgalu/selenium:2.47.1l
109+
docker pull registry.hub.docker.com/elgalu/selenium:2.47.1m
110110

111111
## Pull
112112

113-
docker run -d --name=max -p=0.0.0.0:4411:24444 -p=0.0.0.0:5911:25900 elgalu/selenium:2.47.1l
113+
docker run -d --name=max -p=0.0.0.0:4411:24444 -p=0.0.0.0:5911:25900 elgalu/selenium:2.47.1m
114114

115115
How to connect through vnc (need a vnc client)
116116

bin/entry.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Exit immediately if a command exits with a non-zero status
44
# set -e
55

6+
echo "-- INFO: Available Firefox Versions: ${FIREFOX_VERSIONS}"
7+
68
#---------------------
79
# Fix/extend ENV vars
810
#---------------------

browserstack/etc/supervisor/conf.d/browserstack.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ stderr_capture_maxbytes=%(ENV_LOGFILE_MAXBYTES)s
4949

5050
;The signal used to kill the program when a stop is requested. This can be
5151
;any of TERM, HUP, INT, QUIT, KILL, USR1, or USR2. default=TERM
52-
stopsignal=INT
52+
stopsignal=%(ENV_BROWSERSTACK_STOP_SIGNAL)s

novnc/etc/supervisor/conf.d/novnc.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ stderr_capture_maxbytes=%(ENV_LOGFILE_MAXBYTES)s
4949

5050
;The signal used to kill the program when a stop is requested. This can be
5151
;any of TERM, HUP, INT, QUIT, KILL, USR1, or USR2. default=TERM
52-
stopsignal=TERM
52+
stopsignal=%(ENV_NOVNC_STOP_SIGNAL)s

saucelabs/etc/supervisor/conf.d/saucelabs.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ stderr_capture_maxbytes=%(ENV_LOGFILE_MAXBYTES)s
4949

5050
;The signal used to kill the program when a stop is requested. This can be
5151
;any of TERM, HUP, INT, QUIT, KILL, USR1, or USR2. default=TERM
52-
stopsignal=INT
52+
stopsignal=%(ENV_SAUCELABS_STOP_SIGNAL)s

0 commit comments

Comments
 (0)