Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Python onbuild Docker images

Tired of a small app becoming a 750 MB image? Base your app on our reshuffled onbuild commands and shrink it considerably.

How to use

Start your Dockerfile with:

FROM tomologic/python:3-onbuild

What does it do?

The library's base python image contains gcc and other necessities to compile code. The library also has a slim image which doesn't contain that, but then some packages fail to install because they need to compile.

We solve this by taking a slim image, copying your requirements.txt, then in one humongous step we install essential build packages, install requirements through pip and clean up after ourselves to minimize layer size. Drawback is that building the image takes longer, so this might not be great for your local development workflow.

Docker Pull Command
Owner
tomologic
Source Repository

Comments (0)