From 092e27d0bf7a274b6a2c49795ebf46da72ab672f Mon Sep 17 00:00:00 2001 From: dwkim Date: Wed, 9 Jun 2021 17:13:15 +0900 Subject: [PATCH] feat: upgrade chrome version - serverless-chrome v1.0.0-37 to v1.0.0-55 - chromedriver 2.37 to 2.43 also applied changed version on README and add chromium binary version --- Dockerfile | 4 ++-- README.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6df372b..621359e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM public.ecr.aws/lambda/python:3.8 as build RUN yum install -y unzip && \ - curl -SL https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip > /tmp/chromedriver.zip && \ - curl -SL https://github.com/adieuadieu/serverless-chrome/releases/download/v1.0.0-37/stable-headless-chromium-amazonlinux-2017-03.zip > /tmp/headless-chromium.zip && \ + curl -SL https://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip > /tmp/chromedriver.zip && \ + curl -SL https://github.com/adieuadieu/serverless-chrome/releases/download/v1.0.0-55/stable-headless-chromium-amazonlinux-2017-03.zip > /tmp/headless-chromium.zip && \ unzip /tmp/chromedriver.zip -d /opt/ && \ unzip /tmp/headless-chromium.zip -d /opt/ diff --git a/README.md b/README.md index cbd8174..b67611e 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,9 @@ This is minimum demo of headless chrome and selenium on container image on AWS L This image goes with these versions. - Python 3.8 -- serverless-chrome v1.0.0-37 -- chromedriver 2.37 +- serverless-chrome v1.0.0-55 + - chromium 69.0.3497.81 (stable channel) for amazonlinux:2017.03 +- chromedriver 2.43 - selenium 3.141.0 (latest) ### Running the demo