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

Commit d6efa3f

Browse files
merge from upstream
2 parents 8e8b050 + 96e811e commit d6efa3f

22 files changed

+166
-173
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ body:
5555
attributes:
5656
label: Docker Selenium version (tag)
5757
description: What version of Docker Selenium are you using?
58-
placeholder: 4.8.0-20230202? Please use the full tag, avoid "latest"
58+
placeholder: 4.8.0-20230210? Please use the full tag, avoid "latest"
5959
validations:
6060
required: true

NodeBase/Dockerfile

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,20 @@ RUN apt-get -qqy update \
9292
########################################
9393
# noVNC exposes VNC through a web page #
9494
########################################
95-
# Download https://github.com/novnc/noVNC dated 2021-03-30 commit 84f102d6a9ffaf3972693d59bad5c6fddb6d7fb0
96-
# Download https://github.com/novnc/websockify dated 2021-03-22 commit c5d365dd1dbfee89881f1c1c02a2ac64838d645f
97-
# Install procps as noVNC's launch.sh depends on it to launch websockify properly
98-
ENV NOVNC_SHA="84f102d6a9ffaf3972693d59bad5c6fddb6d7fb0" \
99-
WEBSOCKIFY_SHA="c5d365dd1dbfee89881f1c1c02a2ac64838d645f"
95+
ENV NOVNC_VERSION="1.4.0" \
96+
WEBSOCKIFY_VERSION="0.11.0"
10097
RUN wget -nv -O noVNC.zip \
101-
"https://github.com/novnc/noVNC/archive/${NOVNC_SHA}.zip" \
98+
"https://github.com/novnc/noVNC/archive/refs/tags/v${NOVNC_VERSION}.zip" \
10299
&& unzip -x noVNC.zip \
103-
&& mv noVNC-${NOVNC_SHA} /opt/bin/noVNC \
100+
&& mv noVNC-${NOVNC_VERSION} /opt/bin/noVNC \
104101
&& cp /opt/bin/noVNC/vnc.html /opt/bin/noVNC/index.html \
105102
&& rm noVNC.zip \
106103
&& wget -nv -O websockify.zip \
107-
"https://github.com/novnc/websockify/archive/${WEBSOCKIFY_SHA}.zip" \
104+
"https://github.com/novnc/websockify/archive/refs/tags/v${WEBSOCKIFY_VERSION}.zip" \
108105
&& unzip -x websockify.zip \
109106
&& rm websockify.zip \
110-
&& rm -rf websockify-${WEBSOCKIFY_SHA}/tests \
111-
&& mv websockify-${WEBSOCKIFY_SHA} /opt/bin/noVNC/utils/websockify \
112-
&& apt-get -qqy update \
113-
&& apt-get -qqy --no-install-recommends install procps \
114-
&& rm -rf /var/lib/apt/lists/* \
115-
&& apt-get -qqy clean
107+
&& rm -rf websockify-${WEBSOCKIFY_VERSION}/tests \
108+
&& mv websockify-${WEBSOCKIFY_VERSION} /opt/bin/noVNC/utils/websockify
116109

117110
#=========================================================================================================================================
118111
# Run this command for executable file permissions for /dev/shm when this is a "child" container running in Docker Desktop and WSL2 distro

NodeBase/start-novnc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
if [ "${START_XVFB:-$SE_START_XVFB}" = true ] ; then
66
if [ "${START_NO_VNC:-$SE_START_NO_VNC}" = true ] ; then
7-
/opt/bin/noVNC/utils/launch.sh --listen ${NO_VNC_PORT:-$SE_NO_VNC_PORT} --vnc localhost:${VNC_PORT:-$SE_VNC_PORT}
7+
/opt/bin/noVNC/utils/novnc_proxy --listen ${NO_VNC_PORT:-$SE_NO_VNC_PORT} --vnc localhost:${VNC_PORT:-$SE_VNC_PORT}
88
else
99
echo "noVNC won't start because SE_START_NO_VNC is false."
1010
fi

NodeDocker/config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Configs have a mapping between the Docker image to use and the capabilities that need to be matched to
33
# start a container with the given image.
44
configs = [
5-
"selenium/standalone-firefox:4.8.0-20230202", '{"browserName": "firefox", "platformName": "linux"}',
6-
"selenium/standalone-chrome:4.8.0-20230202", '{"browserName": "chrome", "platformName": "linux"}',
7-
"selenium/standalone-edge:4.8.0-20230202", '{"browserName": "MicrosoftEdge", "platformName": "linux"}'
5+
"selenium/standalone-firefox:4.8.0-20230210", '{"browserName": "firefox", "platformName": "linux"}',
6+
"selenium/standalone-chrome:4.8.0-20230210", '{"browserName": "chrome", "platformName": "linux"}',
7+
"selenium/standalone-edge:4.8.0-20230210", '{"browserName": "MicrosoftEdge", "platformName": "linux"}'
88
]
99

1010
# URL for connecting to the docker daemon
@@ -14,7 +14,7 @@ configs = [
1414
# socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock
1515
url = "http://127.0.0.1:2375"
1616
# Docker image used for video recording
17-
video-image = "selenium/video:ffmpeg-4.3.1-20230202"
17+
video-image = "selenium/video:ffmpeg-4.3.1-20230210"
1818

1919
# Uncomment the following section if you are running the node on a separate VM
2020
# Fill out the placeholders with appropriate values

0 commit comments

Comments
 (0)