File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,13 @@ RUN pip install --no-cache-dir selenium==4.9.0 requests
2525
2626# Install the latest Google Chrome stable release
2727WORKDIR /opt/chrome
28+
29+ # TODO: figure out whatever fix is necessary to use Chrome >= 128 and put this back in the RUN below so we stay
30+ # up-to-date
31+ # chrome_url=$(curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads.chrome[] | select(.platform == "linux64").url') && \
32+
2833RUN \
29- chrome_url=$(curl https://googlechromelabs.github.io /chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads. chrome[] | select(.platform == " linux64").url') && \
34+ chrome_url=" https://storage.googleapis.com /chrome-for-testing-public/127.0.6533.119/linux64/ chrome- linux64.zip" && \
3035 wget $chrome_url && \
3136 unzip chrome-linux64.zip && \
3237 rm -rf chrome-linux64.zip && \
@@ -49,8 +54,12 @@ RUN apt-get install -y libxi6 libgconf-2-4 jq libjq1 libonig5 libxkbcommon0 libx
4954
5055# Installing the latest stable Google Chrome driver release
5156WORKDIR /opt/chrome-driver
57+ # TODO: figure out whatever fix is necessary to use Chrome >= 128 and put this back in the RUN below so we stay
58+ # up-to-date
59+ # chromedriver_url=$(curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads.chromedriver[] | select(.platform == "linux64").url') && \
60+
5261RUN \
53- chromedriver_url=$(curl https://googlechromelabs.github.io /chrome-for-testing/last-known-good-versions-with-downloads.json | jq -r '.channels[] | select(.channel == "Stable") | .downloads. chromedriver[] | select(.platform == " linux64").url') && \
62+ chromedriver_url=" https://storage.googleapis.com /chrome-for-testing-public/127.0.6533.119/linux64/ chromedriver- linux64.zip" && \
5463 wget $chromedriver_url && \
5564 unzip -j chromedriver-linux64.zip chromedriver-linux64/chromedriver && \
5665 rm -rf chromedriver-linux64.zip && \
You can’t perform that action at this time.
0 commit comments