The main proposal change in this MR is that instead of keeping an ARG at the beginning of the Dockerfile I have created 3 folders with 3 Dockerfiles each pointing to one python version, python:3.6-slim, python:3.7-slim, python:3.8-slim.
I also locked the dependencies from the images to increase stabillity and remove cache to compress it.
The main proposal change in this MR is that instead of keeping an
ARG
at the beginning of theDockerfile
I have created 3 folders with 3Dockerfiles
each pointing to one python version,python:3.6-slim
,python:3.7-slim
,python:3.8-slim
.I also locked the dependencies from the images to increase stabillity and remove cache to compress it.
This compressed the image size from
242.37 MB
to171.44 MB
To finish up, I did some changes to Docker Hub building rules to support this new architecture.
Build rules now