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 Thu Mar 21 01:15:51 UTC 2024 #230

Closed github-actions[bot] closed 6 months ago

github-actions[bot] commented 6 months ago

SHA256_DIGEST=9ace63fcbbf8d96d889a8f4cd70f716ccf93fa91e1c2eaa86f3f395b0704c74c REVISION=1262506 PYTHON_VERSION=3.12.2 SELENIUM_VERSION=4.18.1 CHROME_VERSION=123.0.6312.58

diff --git a/Dockerfile b/Dockerfile index fd4bd0b..5ad26e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:1d922f123370801843aad18d0911759c55402af4d0dddb601181df4ed42b2ce2 as build +FROM public.ecr.aws/lambda/python@sha256:9ace63fcbbf8d96d889a8f4cd70f716ccf93fa91e1c2eaa86f3f395b0704c74c as build RUN dnf install -y unzip && \ curl -Lo "/tmp/chromedriver-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/123.0.6312.58/linux64/chromedriver-linux64.zip" && \ curl -Lo "/tmp/chrome-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/123.0.6312.58/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:1d922f123370801843aad18d0911759c55402af4d0dddb601181df4ed42b2ce2 +FROM public.ecr.aws/lambda/python@sha256:9ace63fcbbf8d96d889a8f4cd70f716ccf93fa91e1c2eaa86f3f395b0704c74c 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 931c51a..fd8f2ab 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.1 +- Python 3.12.2