File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/lambda/python:3.8 as build
1+ FROM public.ecr.aws/lambda/python:3.9 as build
22RUN yum install -y unzip && \
33 curl -SL https://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip > /tmp/chromedriver.zip && \
44 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 && \
55 unzip /tmp/chromedriver.zip -d /opt/ && \
66 unzip /tmp/headless-chromium.zip -d /opt/
77
8- FROM public.ecr.aws/lambda/python:3.8
8+ FROM public.ecr.aws/lambda/python:3.9
99RUN yum install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
1010RUN pip install selenium
1111COPY --from=build /opt/headless-chromium /opt/
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
44
55This image goes with these versions.
66
7- - Python 3.8
7+ - Python 3.9
88- serverless-chrome v1.0.0-55
99 - chromium 69.0.3497.81 (stable channel) for amazonlinux:2017.03
1010- chromedriver 2.43
You can’t perform that action at this time.
0 commit comments