Skip to content

Commit 63baed3

Browse files
committed
4.0.0-alpha-5-20200326 release
1 parent 7d3b401 commit 63baed3

File tree

11 files changed

+112
-69
lines changed

11 files changed

+112
-69
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Issues without a reproduction script are likely to stall and eventually be close
4141
## Environment
4242

4343
OS: <!-- Windows 10? OSX? -->
44-
Docker-Selenium image version: <!-- 3, 3.141, 3.141.59-zirconium etc
44+
Docker-Selenium image version: <!-- 3, 3.141, 4.0.0-alpha-5-20200326 etc
4545
Also provide the docker image id
4646
-->
4747
Docker version:

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Issues without a reproduction script are likely to stall and eventually be close
4141
## Environment
4242

4343
OS: <!-- Windows 10? OSX? -->
44-
Docker-Selenium image version: <!-- 3, 3.141, 3.141.59-zirconium etc
44+
Docker-Selenium image version: <!-- 3, 3.141, 4.0.0-alpha-5-20200326 etc
4545
Also provide the docker image id
4646
-->
4747
Docker version:

.github/ISSUE_TEMPLATE/regression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Issues without a reproduction script are likely to stall and eventually be close
4747
## Environment
4848

4949
OS: <!-- Windows 10? OSX? -->
50-
Docker-Selenium image version: <!-- 3, 3.141, 3.141.59-zirconium etc
50+
Docker-Selenium image version: <!-- 3, 3.141, 4.0.0-alpha-5-20200326 etc
5151
Also provide the docker image id
5252
-->
5353
Docker version:

Hub/Dockerfile

Lines changed: 4 additions & 2 deletions
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.141.59-zirconium
5+
FROM selenium/base:4.0.0-alpha-5-20200326
66
LABEL authors=SeleniumHQ
77

88
USER seluser
@@ -11,6 +11,8 @@ USER seluser
1111
# Selenium Configuration
1212
#========================
1313

14+
EXPOSE 4442
15+
EXPOSE 4443
1416
EXPOSE 4444
1517

1618
# As integer, maps to "maxSession"
@@ -33,7 +35,7 @@ ENV GRID_DEBUG false
3335
ENV GRID_HUB_PORT 4444
3436
# As string, maps to "host"
3537
ENV GRID_HUB_HOST "0.0.0.0"
36-
38+
3739
COPY generate_config \
3840
start-selenium-hub.sh \
3941
/opt/bin/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME := $(or $(NAME),$(NAME),selenium)
2-
VERSION := $(or $(VERSION),$(VERSION),3.141.59-zirconium)
2+
VERSION := $(or $(VERSION),$(VERSION),4.0.0-alpha-5-20200326)
33
NAMESPACE := $(or $(NAMESPACE),$(NAMESPACE),$(NAME))
44
AUTHORS := $(or $(AUTHORS),$(AUTHORS),SeleniumHQ)
55
PLATFORM := $(shell uname -s)

NodeBase/Dockerfile

Lines changed: 42 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.141.59-zirconium
5+
FROM selenium/base:4.0.0-alpha-5-20200326
66
LABEL authors=SeleniumHQ
77

88
USER root
@@ -13,6 +13,7 @@ USER root
1313
RUN apt-get update -qqy \
1414
&& apt-get -qqy install \
1515
xvfb \
16+
pulseaudio \
1617
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
1718

1819
#==============================
@@ -36,6 +37,23 @@ RUN apt-get -qqy update \
3637
&& rm -rf /var/lib/apt/lists/* \
3738
&& apt-get -qyy clean
3839

40+
#=====
41+
# VNC
42+
#=====
43+
RUN apt-get update -qqy \
44+
&& apt-get -qqy install \
45+
x11vnc \
46+
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
47+
48+
#=========
49+
# fluxbox
50+
# A fast, lightweight and responsive window manager
51+
#=========
52+
RUN apt-get update -qqy \
53+
&& apt-get -qqy install \
54+
fluxbox \
55+
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
56+
3957
#================
4058
# Font libraries
4159
#================
@@ -88,6 +106,27 @@ COPY start-selenium-node.sh \
88106
#==============================
89107
COPY selenium.conf /etc/supervisor/conf.d/
90108

109+
#==============================
110+
# Generating the VNC password as seluser
111+
# So the service can be started with seluser
112+
#==============================
113+
114+
RUN mkdir -p ${HOME}/.vnc \
115+
&& x11vnc -storepasswd secret ${HOME}/.vnc/passwd
116+
117+
#==========
118+
# Relaxing permissions for OpenShift and other non-sudo environments
119+
#==========
120+
RUN sudo chmod -R 777 ${HOME} \
121+
&& sudo chgrp -R 0 ${HOME} \
122+
&& sudo chmod -R g=u ${HOME}
123+
124+
#==============================
125+
# Scripts to run fluxbox and x11vnc
126+
#==============================
127+
COPY start-fluxbox.sh \
128+
start-vnc.sh \
129+
/opt/bin/
91130

92131
#============================
93132
# Some configuration options
@@ -128,3 +167,5 @@ ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
128167

129168
# Creating base directory for Xvfb
130169
RUN sudo mkdir -p /tmp/.X11-unix && sudo chmod 1777 /tmp/.X11-unix
170+
171+
EXPOSE 5900

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.141.59-zirconium
5+
FROM selenium/node-base:4.0.0-alpha-5-20200326
66
LABEL authors=SeleniumHQ
77

88
USER root

NodeFirefox/Dockerfile

Lines changed: 2 additions & 2 deletions
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.141.59-zirconium
5+
FROM selenium/node-base:4.0.0-alpha-5-20200326
66
LABEL authors=SeleniumHQ
77

88
USER root
@@ -13,7 +13,7 @@ USER root
1313
ARG FIREFOX_VERSION=latest
1414
RUN FIREFOX_DOWNLOAD_URL=$(if [ $FIREFOX_VERSION = "latest" ] || [ $FIREFOX_VERSION = "nightly-latest" ] || [ $FIREFOX_VERSION = "devedition-latest" ]; then echo "https://download.mozilla.org/?product=firefox-$FIREFOX_VERSION-ssl&os=linux64&lang=en-US"; else echo "https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2"; fi) \
1515
&& apt-get update -qqy \
16-
&& apt-get -qqy --no-install-recommends install firefox \
16+
&& apt-get -qqy --no-install-recommends install firefox libavcodec-extra \
1717
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
1818
&& wget --no-verbose -O /tmp/firefox.tar.bz2 $FIREFOX_DOWNLOAD_URL \
1919
&& apt-get -y purge firefox \

0 commit comments

Comments
 (0)