See https://sebest.github.io/post/using-rocker-to-build-minimal-python-docker-images/ for more informations. To build the image: $ rocker build -var Version=1.0