Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Disabling component updates for Chrome (fixes #544)
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Sep 8, 2022
1 parent 731b367 commit 80b6e91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion static/chrome/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ FROM selenoid/dev_chrome:$VERSION

ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
COPY --from=go /devtools/devtools /usr/bin/
COPY component_update.json /etc/opt/chrome/policies/managed/
COPY chromedriver /usr/bin/
COPY entrypoint.sh /

RUN chmod +x /usr/bin/chromedriver
RUN \
chmod +x /usr/bin/chromedriver && \
chown -R selenium:nogroup /etc/opt/chrome/policies/managed/
USER selenium

EXPOSE 4444
Expand Down
3 changes: 3 additions & 0 deletions static/chrome/component_update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ComponentUpdatesEnabled": false
}

0 comments on commit 80b6e91

Please sign in to comment.