umihico / docker-selenium-lambda

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

PR:Version Updates Fri Jul 14 01:59:24 UTC 2023 #181

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

SHA256_DIGEST=10dbb67ede15b5fd516be87dd71c3f7968904b0b840235720486476b34ef9b67 POSITION=1135561 DRIVER_VERSION=114.0.5735.90 PYTHON_VERSION=3.11.4 SELENIUM_VERSION=4.9.1 CHROME_VERSION=114.0.5735.0

diff --git a/Dockerfile b/Dockerfile index 5d6976e..9ac3cd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:7f867f958f685d4321e4520e20b13900a47210ee57b3e41d05395b11f4c93c70 as build +FROM public.ecr.aws/lambda/python@sha256:10dbb67ede15b5fd516be87dd71c3f7968904b0b840235720486476b34ef9b67 as build RUN yum install -y unzip && \ curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip" && \ curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1135561%2Fchrome-linux.zip?alt=media" && \ unzip /tmp/chromedriver.zip -d /opt/ && \ unzip /tmp/chrome-linux.zip -d /opt/

-FROM public.ecr.aws/lambda/python@sha256:7f867f958f685d4321e4520e20b13900a47210ee57b3e41d05395b11f4c93c70 +FROM public.ecr.aws/lambda/python@sha256:10dbb67ede15b5fd516be87dd71c3f7968904b0b840235720486476b34ef9b67 RUN yum install 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 19b5b81..529a118 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.10.12 +- Python 3.11.4