Skip to content

Commit 050165e

Browse files
Merge pull request #201 from umihico/2023-10-16-121107
PR:Version Updates Mon Oct 16 12:11:07 UTC 2023
2 parents a192e95 + 32e7125 commit 050165e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
FROM public.ecr.aws/lambda/python@sha256:0b8d0fa373384edace5d97e7f96e835fe43f065045a0bcb09e0dbc20fc33d351 as build
1+
FROM public.ecr.aws/lambda/python@sha256:a8770bd841c9caa98557ef7dc590bbd2707eb5ecab13bc8edbc81bf4961dca61 as build
22
RUN 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
99
RUN 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
1313
RUN 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/
1616
COPY main.py ./
1717
CMD [ "main.handler" ]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
88
This 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

0 commit comments

Comments
 (0)