From 610e755a03ee081af5f3c4c25cf2ac6ab3d74b99 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Thu, 27 Jun 2024 14:35:10 +0200 Subject: [PATCH] chore: pin dependencies in selenium-chrome --- selenium-chrome/Dockerfile | 7 +++---- selenium-chrome/vsn | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/selenium-chrome/Dockerfile b/selenium-chrome/Dockerfile index 1d80e5c..50796d1 100644 --- a/selenium-chrome/Dockerfile +++ b/selenium-chrome/Dockerfile @@ -1,9 +1,8 @@ -FROM python:3.10 +FROM python:3.12.4-slim RUN apt-get update && \ apt-get install -y wget chromium chromium-driver && \ - pip install selenium pytest requests && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + pip install selenium==4.22.0 pytest==8.2.2 requests==2.32.3 && \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* WORKDIR /app diff --git a/selenium-chrome/vsn b/selenium-chrome/vsn index 3eefcb9..7dea76e 100644 --- a/selenium-chrome/vsn +++ b/selenium-chrome/vsn @@ -1 +1 @@ -1.0.0 +1.0.1