Version Updates Wed Jan 24 01:22:28 UTC 2024
SHA256_DIGEST=c95e0a2af8bd2bb58e9de147305d30a6e8e598200ef4a2e9a06d14a4934fb204
REVISION=1233107
PYTHON_VERSION=3.12.0
SELENIUM_VERSION=4.17.2
CHROME_VERSION=121.0.6167.85
diff --git a/Dockerfile b/Dockerfile
index 610d843..2e19fba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,16 @@
-FROM public.ecr.aws/lambda/python@sha256:5f59359f025e159ac53ba7bc94d2d724b4d8fc0d5d17375b4b27fb70ae4fa15d as build
+FROM public.ecr.aws/lambda/python@sha256:c95e0a2af8bd2bb58e9de147305d30a6e8e598200ef4a2e9a06d14a4934fb204 as build
RUN dnf install -y unzip && \
- curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.109/linux64/chromedriver-linux64.zip" && \
- curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.109/linux64/chrome-linux64.zip" && \
- curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.85/linux64/chromedriver-linux64.zip" && \
- curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.85/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:5f59359f025e159ac53ba7bc94d2d724b4d8fc0d5d17375b4b27fb70ae4fa15d
+FROM public.ecr.aws/lambda/python@sha256:c95e0a2af8bd2bb58e9de147305d30a6e8e598200ef4a2e9a06d14a4934fb204
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.16.0
+RUN pip install selenium==4.17.2
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 4914545..9fa9aa9 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.
- Python 3.12.0
-- chromium 120.0.6099.109
-- chromedriver 120.0.6099.109
-- selenium 4.16.0
+- chromium 121.0.6167.85
+- chromedriver 121.0.6167.85
+- selenium 4.17.2