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 Fri Jun 21 01:23:10 UTC 2024 #256

Closed github-actions[bot] closed 2 weeks ago

github-actions[bot] commented 2 weeks ago

SHA256_DIGEST=bbc480b7978f410a145932cbe94d5699ac7e1b9897a35876dde2a76e827760cb REVISION=1300313 PYTHON_VERSION=3.12.3 SELENIUM_VERSION=4.22.0 CHROME_VERSION=126.0.6478.63

diff --git a/Dockerfile b/Dockerfile index ae7d86d..1a42473 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -FROM public.ecr.aws/lambda/python@sha256:91ed051a27a1e27729351258358dfdf6622af136aeb50bd75d3bbf6ab790afdd as build +FROM public.ecr.aws/lambda/python@sha256:bbc480b7978f410a145932cbe94d5699ac7e1b9897a35876dde2a76e827760cb as build RUN dnf install -y unzip && \

-FROM public.ecr.aws/lambda/python@sha256:91ed051a27a1e27729351258358dfdf6622af136aeb50bd75d3bbf6ab790afdd +FROM public.ecr.aws/lambda/python@sha256:bbc480b7978f410a145932cbe94d5699ac7e1b9897a35876dde2a76e827760cb 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 \ xorg-x11-xauth dbus-glib dbus-glib-devel nss mesa-libgbm -RUN pip install selenium==4.21.0 +RUN pip install selenium==4.22.0 COPY --from=build /opt/chrome-linux64 /opt/chrome COPY --from=build /opt/chromedriver-linux64 /opt/ COPY main.py ./ diff --git a/README.md b/README.md index 6ca92dd..6e548aa 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ 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.