diff --git a/Dockerfile b/Dockerfile index 7d1de44..323d920 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -FROM public.ecr.aws/lambda/python@sha256:bd53508accbaeb0977c5c358b772cbc088a3b324523e43f191f2ddb784ea544d as build +FROM public.ecr.aws/lambda/python@sha256:a353c6aeacb70b9a658eb5d9344358454fd7c4f26132f7e0191cc17324df7f1d as build RUN dnf install -y unzip && \ - curl -Lo "/tmp/chromedriver-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/141.0.7390.65/linux64/chromedriver-linux64.zip" && \ - curl -Lo "/tmp/chrome-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/141.0.7390.65/linux64/chrome-linux64.zip" && \ + curl -Lo "/tmp/chromedriver-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.162/linux64/chromedriver-linux64.zip" && \ + curl -Lo "/tmp/chrome-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/142.0.7444.162/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:bd53508accbaeb0977c5c358b772cbc088a3b324523e43f191f2ddb784ea544d +FROM public.ecr.aws/lambda/python@sha256:a353c6aeacb70b9a658eb5d9344358454fd7c4f26132f7e0191cc17324df7f1d 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 && \ - pip install selenium==4.36.0 + pip install selenium==4.38.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 c3135cf..caaf18a 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ 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.](https://github.com/umihico/docker-selenium-lambda/actions) -- Python 3.13.7 -- chromium 141.0.7390.65 -- chromedriver 141.0.7390.65 -- selenium 4.36.0 +- Python 3.13.9 +- chromium 142.0.7444.162 +- chromedriver 142.0.7444.162 +- selenium 4.38.0 ## Running the demo