umihico / docker-selenium-lambda

The simplest demo of chrome automation by python and selenium in AWS Lambda
MIT License
536 stars 127 forks source link

PR:Version Updates Tue Mar 5 01:13:43 UTC 2024 #224

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago

SHA256_DIGEST=1d922f123370801843aad18d0911759c55402af4d0dddb601181df4ed42b2ce2 REVISION=1250580 PYTHON_VERSION=3.12.1 SELENIUM_VERSION=4.18.1 CHROME_VERSION=122.0.6261.94

diff --git a/Dockerfile b/Dockerfile index 5af7dad..d3dedac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:6db34bc7b73e25ae2fdb2421815805cd404ae4c0f46bcc336c677ea40f901877 as build +FROM public.ecr.aws/lambda/python@sha256:1d922f123370801843aad18d0911759c55402af4d0dddb601181df4ed42b2ce2 as build RUN dnf install -y unzip && \ curl -Lo "/tmp/chromedriver-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.94/linux64/chromedriver-linux64.zip" && \ curl -Lo "/tmp/chrome-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.94/linux64/chrome-linux64.zip" && \ unzip /tmp/chromedriver-linux64.zip -d /opt/ && \ unzip /tmp/chrome-linux64.zip -d /opt/

-FROM public.ecr.aws/lambda/python@sha256:6db34bc7b73e25ae2fdb2421815805cd404ae4c0f46bcc336c677ea40f901877 +FROM public.ecr.aws/lambda/python@sha256:1d922f123370801843aad18d0911759c55402af4d0dddb601181df4ed42b2ce2 RUN dnf install -y atk cups-libs gtk3 libXcomposite alsa-lib \ libXcursor libXdamage libXext libXi libXrandr libXScrnSaver \ libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb \ diff --git a/README.md b/README.md index f0e3947..4d09461 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is minimum demo of headless chrome and selenium on container image on AWS L

This image goes with these versions. These are automatically updated and tested everyday.

-- Python 3.12.0 +- Python 3.12.1