Skip to content

Commit

Permalink
Merge pull request #211 from umihico/2023-12-07-011952
Browse files Browse the repository at this point in the history
PR:Version Updates Thu Dec  7 01:19:52 UTC 2023
  • Loading branch information
github-actions[bot] authored Dec 7, 2023
2 parents c71dcff + f891c65 commit 92770fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM public.ecr.aws/lambda/python@sha256:3cdaa29e3569901e27144ad78ecba00db1f43fe556c1b063574a8d0e18f34a1a as build
FROM public.ecr.aws/lambda/python@sha256:7a7b39f39c6cfd90ebd3cb5b94354d67500c381168ae51c0b78c3401f33462ab as build
RUN dnf install -y unzip && \
curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.62/linux64/chromedriver-linux64.zip" && \
curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.62/linux64/chrome-linux64.zip" && \
curl -Lo "/tmp/chromedriver-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/linux64/chromedriver-linux64.zip" && \
curl -Lo "/tmp/chrome-linux64.zip" "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/linux64/chrome-linux64.zip" && \
unzip /tmp/chromedriver-linux64.zip -d /opt/ && \
unzip /tmp/chrome-linux64.zip -d /opt/

FROM public.ecr.aws/lambda/python@sha256:3cdaa29e3569901e27144ad78ecba00db1f43fe556c1b063574a8d0e18f34a1a
FROM public.ecr.aws/lambda/python@sha256:7a7b39f39c6cfd90ebd3cb5b94354d67500c381168ae51c0b78c3401f33462ab
RUN dnf install -y atk cups-libs gtk3 libXcomposite alsa-lib \
libXcursor libXdamage libXext libXi libXrandr libXScrnSaver \
libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb \
xorg-x11-xauth dbus-glib dbus-glib-devel nss mesa-libgbm
RUN pip install selenium==4.15.2
RUN pip install selenium==4.16.0
COPY --from=build /opt/chrome-linux64 /opt/chrome
COPY --from=build /opt/chromedriver-linux64 /opt/
COPY main.py ./
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
This image goes with these versions. [These are automatically updated and tested everyday.](https://github.com/umihico/docker-selenium-lambda/actions)

- Python 3.12.0
- chromium 120.0.6099.62
- chromedriver 120.0.6099.62
- selenium 4.15.2
- chromium 120.0.6099.71
- chromedriver 120.0.6099.71
- selenium 4.16.0

## Running the demo

Expand Down

0 comments on commit 92770fd

Please sign in to comment.