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 Thu Dec 7 01:19:52 UTC 2023 #211

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago

SHA256_DIGEST=7a7b39f39c6cfd90ebd3cb5b94354d67500c381168ae51c0b78c3401f33462ab REVISION=1217362 PYTHON_VERSION=3.12.0 SELENIUM_VERSION=4.16.0 CHROME_VERSION=120.0.6099.71

diff --git a/Dockerfile b/Dockerfile index 00f7159..56ebe4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -FROM public.ecr.aws/lambda/python@sha256:3cdaa29e3569901e27144ad78ecba00db1f43fe556c1b063574a8d0e18f34a1a as build +FROM public.ecr.aws/lambda/python@sha256:7a7b39f39c6cfd90ebd3cb5b94354d67500c381168ae51c0b78c3401f33462ab as build RUN dnf install -y unzip && \

-FROM public.ecr.aws/lambda/python@sha256:3cdaa29e3569901e27144ad78ecba00db1f43fe556c1b063574a8d0e18f34a1a +FROM public.ecr.aws/lambda/python@sha256:7a7b39f39c6cfd90ebd3cb5b94354d67500c381168ae51c0b78c3401f33462ab 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.15.2 +RUN pip install selenium==4.16.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 5788474..8db3d19 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.