diff --git a/Dockerfile b/Dockerfile index 0bd9483..b82182a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -FROM public.ecr.aws/lambda/python@sha256:d9edaacb31059fc0ac2a98849ef5c271df0a81be36e8d78dfb72a414483f2e0a as build +FROM public.ecr.aws/lambda/python@sha256:bb271cdf756c699fd653bfbd26b1dbb8de031d119d1c109ac5668647206b1db4 as build RUN dnf install -y unzip && \ curl -Lo "/tmp/chromedriver-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/141.0.7390.54/linux64/chromedriver-linux64.zip" && \ curl -Lo "/tmp/chrome-linux64.zip" "https://storage.googleapis.com/chrome-for-testing-public/141.0.7390.54/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:d9edaacb31059fc0ac2a98849ef5c271df0a81be36e8d78dfb72a414483f2e0a +FROM public.ecr.aws/lambda/python@sha256:bb271cdf756c699fd653bfbd26b1dbb8de031d119d1c109ac5668647206b1db4 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.35.0 + pip install selenium==4.36.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 6de36b7..eb9729f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This image goes with these versions. [These are automatically updated and tested - Python 3.13.7 - chromium 141.0.7390.54 - chromedriver 141.0.7390.54 -- selenium 4.35.0 +- selenium 4.36.0 ## Running the demo