Skip to content
Snippets Groups Projects
Commit 0f0f038a authored by Marco Malavolti's avatar Marco Malavolti
Browse files

Updated Chrome & Chromedriver version to latest

parent 542a7fc4
No related branches found
No related tags found
No related merge requests found
FROM debian:12 FROM debian:12
LABEL Authors="Marco Malavolti <marco.malavolti@garr.it>" LABEL Authors="Marco Malavolti <marco.malavolti@garr.it>"
ENV CHROME_VERSION="115.0.5790.170-1" ARG CHROME_VERSION
ENV CHROMEDRIVER_VERSION="115.0.5790.110" ARG CHROMEDRIVER_VERSION
ENV PYFF_VERSION="2.0.0" ARG PYFF_VERSION
#COPY --from=hairyhenderson/gomplate:v3.11.5 /gomplate /bin/gomplate #COPY --from=hairyhenderson/gomplate:v3.11.5 /gomplate /bin/gomplate
...@@ -18,9 +18,11 @@ RUN apt-get update \ ...@@ -18,9 +18,11 @@ RUN apt-get update \
python3-requests python3-selenium python3-urllib3 --no-install-recommends \ python3-requests python3-selenium python3-urllib3 --no-install-recommends \
&& sed -i -e 's/"syntax on/syntax on/g' /etc/vim/vimrc && sed -i -e 's/"syntax on/syntax on/g' /etc/vim/vimrc
RUN python3 -m pip install pyff==${PYFF_VERSION} --break-system-packages
# Install PyFF # Install PyFF
RUN python3 -m pip install pyff==$PYFF_VERSION --break-system-packages \ #RUN python3 -m pip install pyff==${PYFF_VERSION} --break-system-packages \
&& sed 's/random.seed(self)/random.seed(id(self))/' -i $(find /usr -name repo.py) # Until the commit https://github.com/IdentityPython/pyFF/commit/601f796776a1948bf09278e6f7ad4c1266904992 will not be implemented into a new PyFF release # && sed 's/random.seed(self)/random.seed(id(self))/' -i $(find /usr -name repo.py) # Until the commit https://github.com/IdentityPython/pyFF/commit/601f796776a1948bf09278e6f7ad4c1266904992 will not be implemented into a new PyFF release
# Get Google Chrome & Google Chrome Driver # Get Google Chrome & Google Chrome Driver
# Check available versions here: https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable # Check available versions here: https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
...@@ -34,7 +36,8 @@ USER eccs ...@@ -34,7 +36,8 @@ USER eccs
WORKDIR /home/eccs WORKDIR /home/eccs
# Google Chrome Driver # Google Chrome Driver
RUN wget "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${CHROMEDRIVER_VERSION}/linux64/chromedriver-linux64.zip" -O chromedriver_linux64.zip \ RUN wget "https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_VERSION}/linux64/chromedriver-linux64.zip" -O chromedriver_linux64.zip \
&& unzip chromedriver_linux64.zip \ && unzip chromedriver_linux64.zip \
&& rm chromedriver_linux64.zip \ && rm chromedriver_linux64.zip \
&& mv chromedriver-linux64/chromedriver . \ && mv chromedriver-linux64/chromedriver . \
......
version: '3.9'
services: services:
eccs: eccs:
image: gitlab.software.geant.org:5050/edugain/eccs:dev image: gitlab.software.geant.org:5050/edugain/eccs:dev
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
args:
CHROME_VERSION: "126.0.6478.126-1"
CHROMEDRIVER_VERSION: "126.0.6478.126"
PYFF_VERSION: "2.1.2"
container_name: eccs container_name: eccs
hostname: eccs hostname: eccs
#env_file:
# - .env
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment