umihico / docker-selenium-lambda

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

PR:Version Updates Tue Nov 21 14:19:20 UTC 2023 #209

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago

SHA256_DIGEST=fb31ca51357519a48a90f01a76e9d550778ecfcbe8d92dd832ec49b6672e387c REVISION=1204232 PYTHON_VERSION=3.12.0 SELENIUM_VERSION=4.15.2 CHROME_VERSION=119.0.6045.105

diff --git a/Dockerfile b/Dockerfile index b4437dd..0b11b69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:f0c3116a56d167eba8021a5d7c595f969835fbe78826303326f80de00d044733 as build +FROM public.ecr.aws/lambda/python@sha256:fb31ca51357519a48a90f01a76e9d550778ecfcbe8d92dd832ec49b6672e387c as build RUN dnf install -y unzip && \ curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/119.0.6045.105/linux64/chromedriver-linux64.zip" && \ curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/119.0.6045.105/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:f0c3116a56d167eba8021a5d7c595f969835fbe78826303326f80de00d044733 +FROM public.ecr.aws/lambda/python@sha256:fb31ca51357519a48a90f01a76e9d550778ecfcbe8d92dd832ec49b6672e387c 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 a94d433..1d2e942 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.11.6 +- Python 3.12.0