1+ <<<<<<< Updated upstream
12FROM ubuntu:24.04
23
34ENV FIREFOX_VERSION="133.0"
45ENV CHROME_VERSION="131.0.6778.241"
6+ =======
7+ FROM --platform=linux/amd64 ubuntu:24.04
8+
9+ ENV FIREFOX_VERSION="133.0"
10+ ENV CHROME_VERSION="131.0.6778.205"
11+ >>>>>>> Stashed changes
512ENV PHANTOMJS_VERSION="2.1.1"
613ENV GECKODRIVER_VERSION="0.35.0"
714
@@ -13,7 +20,7 @@ RUN apt-get update
1320RUN $INSTALL wget ca-certificates bzip2 unzip
1421
1522# firefox setup
16- RUN $INSTALL libgtk-3-0 libasound2 libx11-xcb1
23+ RUN $INSTALL libgtk-3-0t64 libasound2t64 libx11-xcb1
1724
1825RUN wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 && \
1926 tar -xf firefox-${FIREFOX_VERSION}.tar.bz2 && \
@@ -32,9 +39,9 @@ RUN wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER
3239RUN geckodriver --version
3340
3441# chrome setup
35- RUN wget https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable /google-chrome-stable_${CHROME_VERSION}_amd64.deb && \
36- $INSTALL ./google-chrome-stable_${CHROME_VERSION}_amd64 .deb && \
37- rm google-chrome-stable_${CHROME_VERSION}_amd64 .deb
42+ RUN wget https://dl.google.com/linux/direct /google-chrome-stable_${CHROME_VERSION}_amd64.deb && \
43+ $INSTALL ./google-chrome-stable_current_amd64 .deb && \
44+ rm google-chrome-stable_current_amd64 .deb
3845
3946RUN google-chrome --version
4047
@@ -58,4 +65,4 @@ ADD requirements.txt .
5865RUN $INSTALL python3 python3-pip && \
5966 pip install --upgrade pip && \
6067 pip install -r requirements.txt && \
61- rm requirements.txt
68+ rm requirements.txt \
0 commit comments