Skip to content

Commit 762ca3e

Browse files
committed
docs: Update references to default Docker images
1 parent 8b8fe66 commit 762ca3e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ If you're on a mac, check out [these notes](#applebeersnake-mac-brew-installed-p
3333
## Cross compiling
3434

3535
Compiling non-pure-Python modules or fetching their manylinux wheels is
36-
supported on non-linux OSs via the use of Docker and the
37-
[docker-lambda](https://github.com/lambci/docker-lambda) image.
36+
supported on non-linux OSs via the use of Docker and [official AWS build](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-image-repositories.html) images.
3837
To enable docker usage, add the following to your `serverless.yml`:
3938

4039
```yaml
@@ -489,10 +488,10 @@ For usage of `dockerizePip` on Windows do Step 1 only if running serverless on w
489488

490489
## Native Code Dependencies During Build
491490

492-
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:
491+
Some Python packages require extra OS dependencies to build successfully. To deal with this, replace the default image with a `Dockerfile` like:
493492

494493
```dockerfile
495-
FROM lambci/lambda:build-python3.6
494+
FROM public.ecr.aws/sam/build-python3.9
496495
497496
# Install your dependencies
498497
RUN yum -y install mysql-devel

0 commit comments

Comments
 (0)