Our CI python. Modification of docker-python27-pandas
- Copy requirements from application to
requirements.txt
- bump image version in
.env
file make
As result on dockerhub will be pushed image with 2 tags: TAG from.env
andlatest
- It may turn out that the our
CI server
has run out of space. If this happens - delete old docker images:make clean
-
https://blog.realkinetic.com/building-minimal-docker-containers-for-python-applications-37d0272c52f3
-
https://www.codacy.com/blog/five-ways-to-slim-your-docker-images/
-
https://blog.onebar.io/reducing-docker-image-size-using-multi-stage-build-4ec8ee111aae
-
https://semaphoreci.com/blog/2016/12/13/lightweight-docker-images-in-5-steps.html
-
https://vsupalov.com/cache-docker-build-dependencies-without-volume-mounting/