Skip to content

Commit

Permalink
chrome version; update ubuntu version; use x86 64 arch
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 26, 2024
1 parent 7353534 commit 7aac172
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions test/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<<<<<<< Updated upstream
FROM ubuntu:24.04

ENV FIREFOX_VERSION="133.0"
ENV CHROME_VERSION="131.0.6778.241"
=======
FROM --platform=linux/amd64 ubuntu:24.04

ENV FIREFOX_VERSION="133.0"
ENV CHROME_VERSION="131.0.6778.205"
>>>>>>> Stashed changes
ENV PHANTOMJS_VERSION="2.1.1"
ENV GECKODRIVER_VERSION="0.35.0"

Expand All @@ -13,7 +20,7 @@ RUN apt-get update
RUN $INSTALL wget ca-certificates bzip2 unzip

# firefox setup
RUN $INSTALL libgtk-3-0 libasound2 libx11-xcb1
RUN $INSTALL libgtk-3-0t64 libasound2t64 libx11-xcb1

RUN wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 && \
tar -xf firefox-${FIREFOX_VERSION}.tar.bz2 && \
Expand All @@ -32,9 +39,9 @@ RUN wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER
RUN geckodriver --version

# chrome setup
RUN wget https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb && \
$INSTALL ./google-chrome-stable_${CHROME_VERSION}_amd64.deb && \
rm google-chrome-stable_${CHROME_VERSION}_amd64.deb
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_${CHROME_VERSION}_amd64.deb && \
$INSTALL ./google-chrome-stable_current_amd64.deb && \
rm google-chrome-stable_current_amd64.deb

RUN google-chrome --version

Expand All @@ -58,4 +65,4 @@ ADD requirements.txt .
RUN $INSTALL python3 python3-pip && \
pip install --upgrade pip && \
pip install -r requirements.txt && \
rm requirements.txt
rm requirements.txt \

0 comments on commit 7aac172

Please sign in to comment.