File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/lambda/python@sha256:f0c3116a56d167eba8021a5d7c595f969835fbe78826303326f80de00d044733 as build
2- RUN yum install -y unzip && \
1+ FROM public.ecr.aws/lambda/python@sha256:fb31ca51357519a48a90f01a76e9d550778ecfcbe8d92dd832ec49b6672e387c as build
2+ RUN dnf install -y unzip && \
33 curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/119.0.6045.105/linux64/chromedriver-linux64.zip" && \
44 curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/119.0.6045.105/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:f0c3116a56d167eba8021a5d7c595f969835fbe78826303326f80de00d044733
9- RUN yum install atk cups-libs gtk3 libXcomposite alsa-lib \
8+ FROM public.ecr.aws/lambda/python@sha256:fb31ca51357519a48a90f01a76e9d550778ecfcbe8d92dd832ec49b6672e387c
9+ RUN 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 \
12- xorg-x11-xauth dbus-glib dbus-glib-devel -y
12+ xorg-x11-xauth dbus-glib dbus-glib-devel nss mesa-libgbm
1313RUN pip install selenium==4.15.2
1414COPY --from=build /opt/chrome-linux64 /opt/chrome
1515COPY --from=build /opt/chromedriver-linux64 /opt/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
77
88This image goes with these versions. [ These are automatically updated and tested everyday.] ( https://github.com/umihico/docker-selenium-lambda/actions )
99
10- - Python 3.11.6
10+ - Python 3.12.0
1111- chromium 119.0.6045.105
1212- chromedriver 119.0.6045.105
1313- selenium 4.15.2
You can’t perform that action at this time.
0 commit comments