Browse Source

Don't keep custom launcher in Docker image for compose-web builds (#5145)

pull/5146/head
Shagen Ogandzhanian 3 months ago committed by GitHub
parent
commit
def649ab54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      ci/docker/compose-web/Dockerfile
  2. 3
      ci/docker/compose-web/chrome-no-sandbox

3
ci/docker/compose-web/Dockerfile

@ -34,6 +34,3 @@ RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.29.1/geckod
RUN export CHROME_DRIVER_VERSION=$(wget -qO- https://chromedriver.storage.googleapis.com/LATEST_RELEASE) \
&& wget https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip -P ~/tmp \
&& mkdir -p /root/.gradle/selenium/chrome && unzip -d /root/.gradle/selenium/chrome ~/tmp/chromedriver_linux64.zip && rm ~/tmp/chromedriver_linux64.zip
COPY chrome-no-sandbox /usr/bin/chrome-no-sandbox
RUN chmod u+x /usr/bin/chrome-no-sandbox

3
ci/docker/compose-web/chrome-no-sandbox

@ -1,3 +0,0 @@
#!/usr/bin/env bash
google-chrome-stable --no-sandbox "$@"
Loading…
Cancel
Save