Sign inSign up

lukewiwa/aws-lambda-python-sqlite

By lukewiwa

Updated over 1 year ago

AWS Lambda Python Container Image With Latest Sqlite

Image
0

3.8K

lukewiwa/aws-lambda-python-sqlite repository overview

AWS Lambda Python Container Image With Latest Sqlite

This project is in maintenance mode.

AWS publishes docker images for use with lambda. Unfortunately the underlying operating system (Amazon Linux 2) has an out of date version of sqlite installed that won't work with the current supported versions of Django. aws-lambda-python-sqlite images compile the latest sqlite version and replace the library for the lambda version of Python built in to the image. Everything else will work exactly the same as the official images.

Supported Python Versions

NOTE: Only images that are based on Amazon Linux 2 have been built here.

  • 3.8
  • 3.9
  • 3.10
  • 3.11

Usage

Inside your dockerfile instead of pulling the official images do as follows:

- FROM public.ecr.aws/lambda/python:3.9
+ FROM lukewiwa/aws-lambda-python-sqlite:3.9

Tag summary

Content type

Image

Digest

sha256:1b040da59

Size

180.7 MB

Last updated

over 1 year ago

docker pull lukewiwa/aws-lambda-python-sqlite:3.10