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:0b8d0fa373384edace5d97e7f96e835fe43f065045a0bcb09e0dbc20fc33d351 as build
1+ FROM public.ecr.aws/lambda/python@sha256:a8770bd841c9caa98557ef7dc590bbd2707eb5ecab13bc8edbc81bf4961dca61 as build
22RUN yum install -y unzip && \
3- curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117 .0.5938.92 /linux64/chromedriver-linux64.zip" && \
4- curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117 .0.5938.92 /linux64/chrome-linux64.zip" && \
3+ curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/118 .0.5993.70 /linux64/chromedriver-linux64.zip" && \
4+ curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/118 .0.5993.70 /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:0b8d0fa373384edace5d97e7f96e835fe43f065045a0bcb09e0dbc20fc33d351
8+ FROM public.ecr.aws/lambda/python@sha256:a8770bd841c9caa98557ef7dc590bbd2707eb5ecab13bc8edbc81bf4961dca61
99RUN yum install 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 -y
1313RUN pip install selenium==4.14.0
14- COPY --from=build /opt/chrome-linux /opt/chrome
15- COPY --from=build /opt/chromedriver /opt/
14+ COPY --from=build /opt/chrome-linux64 /opt/chrome
15+ COPY --from=build /opt/chromedriver-linux64 /opt/
1616COPY main.py ./
1717CMD [ "main.handler" ]
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ 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.11.6
11- - chromium 114 .0.5735.0
12- - chromedriver 114 .0.5735.90
11+ - chromium 118 .0.5993.70
12+ - chromedriver 118 .0.5993.70
1313- selenium 4.14.0
1414
1515## Running the demo
You can’t perform that action at this time.
0 commit comments