diff --git a/Dockerfile b/Dockerfile index 358060f..5c3c209 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:3bef2a69d7ec70ad5db61b7fdc98c51d9c7f86ffbaf06500eb118de8b37dbb04 as build +FROM public.ecr.aws/lambda/python@sha256:38efc91bb706f1a97690ed30b3d345e00e7d8d1700c582b882f969ab2b40c08e as build RUN yum install -y unzip && \ - curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/108.0.5359.71/chromedriver_linux64.zip" && \ - curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1058929%2Fchrome-linux.zip?alt=media" && \ + curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/109.0.5414.25/chromedriver_linux64.zip" && \ + curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1070081%2Fchrome-linux.zip?alt=media" && \ unzip /tmp/chromedriver.zip -d /opt/ && \ unzip /tmp/chrome-linux.zip -d /opt/ -FROM public.ecr.aws/lambda/python@sha256:3bef2a69d7ec70ad5db61b7fdc98c51d9c7f86ffbaf06500eb118de8b37dbb04 +FROM public.ecr.aws/lambda/python@sha256:38efc91bb706f1a97690ed30b3d345e00e7d8d1700c582b882f969ab2b40c08e RUN yum install atk cups-libs gtk3 libXcomposite alsa-lib \ libXcursor libXdamage libXext libXi libXrandr libXScrnSaver \ libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb \ diff --git a/README.md b/README.md index 3c648c5..483c0c3 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,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. ![CircleCI](https://circleci.com/gh/umihico/docker-selenium-lambda/tree/circleci.svg?style=svg)](https://circleci.com/gh/umihico/docker-selenium-lambda/tree/circleci) - Python 3.9.15 -- chromium 108.0.5359.0 -- chromedriver 108.0.5359.71 -- selenium 4.7.0 +- chromium 109.0.5414.0 +- chromedriver 109.0.5414.25 +- selenium 4.7.2 ## Running the demo