diff --git a/Dockerfile b/Dockerfile index e68adbd..ccae080 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:7e3bcdc955c2c3cab1101bbbfd55849c0f56a6b5a21a149d50df91deacad6aac as build +FROM public.ecr.aws/lambda/python@sha256:30e94e709c029f1d50293257fcb91067052fdb55e7c204bc8c8083630b87a023 as build RUN yum install -y unzip && \ - curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/109.0.5414.74/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" && \ + curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/111.0.5563.41/chromedriver_linux64.zip" && \ + curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1097615%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:7e3bcdc955c2c3cab1101bbbfd55849c0f56a6b5a21a149d50df91deacad6aac +FROM public.ecr.aws/lambda/python@sha256:30e94e709c029f1d50293257fcb91067052fdb55e7c204bc8c8083630b87a023 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 a8bfd4d..bb633b2 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ 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.16 -- chromium 109.0.5414.0 -- chromedriver 109.0.5414.74 -- selenium 4.8.0 +- Python 3.10.9 +- chromium 111.0.5563.0 +- chromedriver 111.0.5563.41 +- selenium 4.8.2 ## Running the demo