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.7 as build
1+ FROM public.ecr.aws/lambda/python:3.8 as build
22RUN mkdir -p /opt/bin/ && \
33 mkdir -p /tmp/downloads && \
44 curl -SL https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip > /tmp/downloads/chromedriver.zip && \
55 curl -SL https://github.com/adieuadieu/serverless-chrome/releases/download/v1.0.0-37/stable-headless-chromium-amazonlinux-2017-03.zip > /tmp/downloads/headless-chromium.zip && \
66 unzip /tmp/downloads/chromedriver.zip -d /opt/bin/ && \
77 unzip /tmp/downloads/headless-chromium.zip -d /opt/bin/
88
9- FROM public.ecr.aws/lambda/python:3.7
9+ FROM public.ecr.aws/lambda/python:3.8
1010RUN mkdir -p /opt/bin && pip install selenium
1111COPY --from=build /opt/bin/headless-chromium /opt/bin/
1212COPY --from=build /opt/bin/chromedriver /opt/bin/
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.7
7+ - Python 3.8
88- serverless-chrome v1.0.0-37
99- chromedriver 2.37
1010- selenium 3.141.0 (latest)
You can’t perform that action at this time.
0 commit comments