Skip to content

🐳 A multi-arch Docker image based on the official slim Python image, with essential IoT libs

License

Notifications You must be signed in to change notification settings

danielschenk/docker-python-slim-iot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-python-slim-iot

docker-image CodeQL

🐳 A multi-arch Docker image based on the official slim Python image, with essential IoT libs

I created this base image from lessons learned in a couple of my other hobby projects. In those other projects, I wanted to build a Docker image with the cryptography lib in it (an indirect dependency of several other Python libs I use). At the same time I wanted those images to be usable on my Raspberry Pi, which at some point in time, I wasn't running a 64-bit version of Raspbian on yet.

Since PyPI doesn't have prebuilt wheels of cryptography available for all versions of ARM, ir has to be compiled from source during the Docker build for some archs, which involves preparing some additional dependencies. This Dockerfile takes care of that while also leveraging a multi-stage build to keep the image as small as possible.

About

🐳 A multi-arch Docker image based on the official slim Python image, with essential IoT libs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published