Skip to content

Commit

Permalink
get latest chromedriver version because the link is fixed. Change Kan…
Browse files Browse the repository at this point in the history
…gooroo to the newest version
  • Loading branch information
cccs-shellyw committed Dec 11, 2024
1 parent aea68f9 commit 37425a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ ARG branch=latest
FROM cccs/assemblyline-v4-service-base:$branch

ENV SERVICE_PATH=urldownloader.URLDownloader
ENV KANGOOROO_VERSION=v2.0.1.stable5
ENV KANGOOROO_VERSION=v2.0.1.stable6
USER root

RUN apt update -y && \
apt install -y wget default-jre unzip ffmpeg && \
# Find out what is the latest version of the chrome-for-testing/chromedriver available
# TODO: the newest version of chrome-for-testing is not available. We are using a fixed version for now and we uncomment line 12 and remove line 13
# VERS=$(wget -q -O - https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_STABLE) && \
VERS="131.0.6778.85" && \
VERS=$(wget -q -O - https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_STABLE) && \
# Download + Install google-chrome with the version matching the latest chromedriver
wget -O ./google-chrome-stable_amd64.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_$VERS-1_amd64.deb && \
apt install -y ./google-chrome-stable_amd64.deb && \
Expand Down

0 comments on commit 37425a3

Please sign in to comment.