Skip to content

Commit

Permalink
test-5
Browse files Browse the repository at this point in the history
  • Loading branch information
krrish-sehgal committed Dec 23, 2024
1 parent b3268c5 commit 160d4f4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*


# Install Google Chrome by downloading the .deb file
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
RUN apt-get install -y wget
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get -y install google-chrome-stable


# Install chromedriver (matching installed chrome version)
RUN CHROME_VERSION=$(google-chrome-stable --version | awk '{print $3}' | sed 's/\..*//') && \
Expand Down

0 comments on commit 160d4f4

Please sign in to comment.