In our docker build process we currently have a mostly copy/pasted Dockerfile which starts with the official python docker image.
The first 30% of that file is the same everywhere (namely installing build-essential package and some other stuff) which takes time.
It would be more efficient to create the base image only once and then use it for all the subsequent docker builds instead.
In our docker build process we currently have a mostly copy/pasted Dockerfile which starts with the official python docker image.
The first 30% of that file is the same everywhere (namely installing build-essential package and some other stuff) which takes time. It would be more efficient to create the base image only once and then use it for all the subsequent docker builds instead.