File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ COPY supervisord.conf /etc
71
71
RUN mkdir -p /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor \
72
72
&& touch /opt/selenium/config.toml \
73
73
&& chmod -R 777 /opt/selenium /opt/selenium/assets /var/run/supervisor /var/log/supervisor /etc/passwd \
74
- && wget --no-verbose https://github.com/SeleniumHQ/docker-selenium/releases/download/4.0.0-rc-1-prerelease-20210713 /selenium-server-4.0.0-prerelease-rc-1-74745cf081 .jar \
74
+ && wget --no-verbose https://github.com/SeleniumHQ/docker-selenium/releases/download/4.0.0-rc-1-prerelease-20210618 /selenium-server-4.0.0-prerelease-rc-1-c498dad8c5 .jar \
75
75
-O /opt/selenium/selenium-server.jar \
76
76
# && wget --no-verbose https://selenium-release.storage.googleapis.com/4.0-beta-4/selenium-server-4.0.0-beta-4.jar \
77
77
# -O /opt/selenium/selenium-server.jar \
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ mv "$WRAPPER_PATH" "$BASE_PATH"
6
6
7
7
cat > " $WRAPPER_PATH " << _EOF
8
8
#!/bin/bash
9
-
9
+ # --disable-gpu is temporal due to:
10
+ # https://github.com/SeleniumHQ/docker-selenium/issues/1346
11
+ # https://bugs.chromium.org/p/chromium/issues/detail?id=1228625
12
+ # we'll remove it when it is fixed
10
13
# Note: exec -a below is a bashism.
11
- exec -a "\$ 0" "$BASE_PATH " --no-sandbox "\$ @"
14
+ exec -a "\$ 0" "$BASE_PATH " --no-sandbox --disable-gpu "\$ @"
12
15
_EOF
13
16
chmod +x " $WRAPPER_PATH "
You can’t perform that action at this time.
0 commit comments