Skip to content

Commit 0283eb5

Browse files
authored
Merge pull request #9 from umihico/feature/python3.9
use python 3.9
2 parents af995cb + 02a5574 commit 0283eb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM public.ecr.aws/lambda/python:3.8 as build
1+
FROM public.ecr.aws/lambda/python:3.9 as build
22
RUN 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
99
RUN yum install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
1010
RUN pip install selenium
1111
COPY --from=build /opt/headless-chromium /opt/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is minimum demo of headless chrome and selenium on container image on AWS L
44

55
This 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

0 commit comments

Comments
 (0)