File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/lambda/python@sha256:5f59359f025e159ac53ba7bc94d2d724b4d8fc0d5d17375b4b27fb70ae4fa15d as build
1+ FROM public.ecr.aws/lambda/python@sha256:c95e0a2af8bd2bb58e9de147305d30a6e8e598200ef4a2e9a06d14a4934fb204 as build
22RUN dnf install -y unzip && \
3- curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120 .0.6099.109 /linux64/chromedriver-linux64.zip" && \
4- curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120 .0.6099.109 /linux64/chrome-linux64.zip" && \
3+ curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121 .0.6167.85 /linux64/chromedriver-linux64.zip" && \
4+ curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121 .0.6167.85 /linux64/chrome-linux64.zip" && \
55 unzip /tmp/chromedriver-linux64.zip -d /opt/ && \
66 unzip /tmp/chrome-linux64.zip -d /opt/
77
8- FROM public.ecr.aws/lambda/python@sha256:5f59359f025e159ac53ba7bc94d2d724b4d8fc0d5d17375b4b27fb70ae4fa15d
8+ FROM public.ecr.aws/lambda/python@sha256:c95e0a2af8bd2bb58e9de147305d30a6e8e598200ef4a2e9a06d14a4934fb204
99RUN dnf install -y atk cups-libs gtk3 libXcomposite alsa-lib \
1010 libXcursor libXdamage libXext libXi libXrandr libXScrnSaver \
1111 libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb \
1212 xorg-x11-xauth dbus-glib dbus-glib-devel nss mesa-libgbm
13- RUN pip install selenium==4.16.0
13+ RUN pip install selenium==4.17.2
1414COPY --from=build /opt/chrome-linux64 /opt/chrome
1515COPY --from=build /opt/chromedriver-linux64 /opt/
1616COPY main.py ./
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
88This image goes with these versions. [ These are automatically updated and tested everyday.] ( https://github.com/umihico/docker-selenium-lambda/actions )
99
1010- Python 3.12.0
11- - chromium 120 .0.6099.109
12- - chromedriver 120 .0.6099.109
13- - selenium 4.16.0
11+ - chromium 121 .0.6167.85
12+ - chromedriver 121 .0.6167.85
13+ - selenium 4.17.2
1414
1515## Running the demo
1616
You can’t perform that action at this time.
0 commit comments