Skip to content

Commit 7aac172

Browse files
committed
chrome version; update ubuntu version; use x86 64 arch
1 parent 7353534 commit 7aac172

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

test/docker/Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
<<<<<<< Updated upstream
12
FROM ubuntu:24.04
23

34
ENV FIREFOX_VERSION="133.0"
45
ENV 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
512
ENV PHANTOMJS_VERSION="2.1.1"
613
ENV GECKODRIVER_VERSION="0.35.0"
714

@@ -13,7 +20,7 @@ RUN apt-get update
1320
RUN $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

1825
RUN 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
3239
RUN 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

3946
RUN google-chrome --version
4047

@@ -58,4 +65,4 @@ ADD requirements.txt .
5865
RUN $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

Comments
 (0)