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 Wed Sep 13 01:15:39 UTC 2023 #194

Closed github-actions[bot] closed 10 months ago

github-actions[bot] commented 10 months ago

SHA256_DIGEST=c80401611e707039b37b5cd24b21f01bbcfa2583030123aee375cbcfa5becd5d POSITION=1135561 DRIVER_VERSION=114.0.5735.90 PYTHON_VERSION=3.11.5 SELENIUM_VERSION=4.12.0 CHROME_VERSION=114.0.5735.0

diff --git a/Dockerfile b/Dockerfile index 06964c5..6b28952 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:489d4abc8644060e2e16db2ffaaafa157359761feaf9438bf26ed88e37e43d9c as build +FROM public.ecr.aws/lambda/python@sha256:c80401611e707039b37b5cd24b21f01bbcfa2583030123aee375cbcfa5becd5d 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:489d4abc8644060e2e16db2ffaaafa157359761feaf9438bf26ed88e37e43d9c +FROM public.ecr.aws/lambda/python@sha256:c80401611e707039b37b5cd24b21f01bbcfa2583030123aee375cbcfa5becd5d 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 c62ba54..f206ed2 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,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.4 +- Python 3.11.5