You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-11Lines changed: 2 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -386,19 +386,10 @@ For usage of `dockerizePip` on Windows do Step 1 only if running serverless on w
386
386
Some Python packages require extra OS dependencies to build successfully. To deal with this, replace the default image (`lambci/lambda:python3.6`) with a `Dockerfile` like:
387
387
388
388
```dockerfile
389
-
# AWS Lambda execution environment is based on Amazon Linux 1
390
-
FROM amazonlinux:1
391
-
392
-
# Install Python 3.6
393
-
RUN yum -y install python36 python36-pip
389
+
FROM lambci/lambda:build-python3.6
394
390
395
391
# Install your dependencies
396
-
RUN curl -s https://bootstrap.pypa.io/get-pip.py | python3
0 commit comments