Base image for dockerized stateless plumbum scripts
312
This is base docker image to create derived images with stateless python scripts with optional usage of Plumbum library.
During build of derived image all *.py files from build folder are copied to the /root/ folder inside the image and precompiled there.
If you have some-script.py in derived project, then after building image you can run it via:
docker run --rm derived/image some-script.py
Examples of derived images:
Based on python:3.5-alpine image.
docker pull procraft/plumbum:latest