Skip to content

Commit

Permalink
Merge pull request #9 from quiltdata/inary-emulation
Browse files Browse the repository at this point in the history
Use a more accurate base image (SAM emulation)
  • Loading branch information
akarve authored Oct 1, 2021
2 parents 0dcee3b + 93935d0 commit 7acdd34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amazon/aws-lambda-python:3.8
FROM amazon/aws-sam-cli-emulation-image-python3.7

# Need to set "ulimit -n" to a small value to stop yum from hanging:
# https://bugzilla.redhat.com/show_bug.cgi?id=1715254#c1
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Update
Amazon now provides images for Lambda runtimes on Docker Hub.
See [amazon/aws-lambda-python](https://hub.docker.com/r/amazon/aws-lambda-python).
See [amazon/aws-sam-cli-emulation-image-python](https://hub.docker.com/r/amazon/aws-sam-cli-emulation-image-python3.7).
It is important to use this specific set of images to avoid missing binaries,
which can occur with similar Python 3.x containers from amazon/.

## Blog post (includes tips on reducing package size)

Expand Down

0 comments on commit 7acdd34

Please sign in to comment.