Skip to content

Commit 0b41c12

Browse files
Merge pull request #209 from umihico/2023-11-21-141920
PR:Version Updates Tue Nov 21 14:19:20 UTC 2023
2 parents 95ce892 + 1158616 commit 0b41c12

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
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
1313
RUN pip install selenium==4.15.2
1414
COPY --from=build /opt/chrome-linux64 /opt/chrome
1515
COPY --from=build /opt/chromedriver-linux64 /opt/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
77

88
This 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

0 commit comments

Comments
 (0)