diff --git a/Dockerfile b/Dockerfile index 913f8e2..fee8773 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM public.ecr.aws/lambda/python@sha256:25c6bcc63244a4c64d5c6593529dbc51f279ed4a2b731e9ae5a6fe839d8be69d as build +FROM public.ecr.aws/lambda/python@sha256:e9cc22ac03cdf72bb61f92b65bc65e725564eddaa3af518968271e51bbe69198 as build RUN yum install -y unzip && \ - curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/107.0.5304.18/chromedriver_linux64.zip" && \ - curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1047731%2Fchrome-linux.zip?alt=media" && \ + curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/106.0.5249.61/chromedriver_linux64.zip" && \ + curl -Lo "/tmp/chrome-linux.zip" "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1036826%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:25c6bcc63244a4c64d5c6593529dbc51f279ed4a2b731e9ae5a6fe839d8be69d +FROM public.ecr.aws/lambda/python@sha256:e9cc22ac03cdf72bb61f92b65bc65e725564eddaa3af518968271e51bbe69198 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 bf47068..0d3c3e4 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ 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.14 -- chromium 107.0.5304.0 -- chromedriver 107.0.5304.18 +- chromium 106.0.5249.0 +- chromedriver 106.0.5249.61 - selenium 4.5.0