ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
44 stars 26 forks source link

Refactor how we build docker images, there are a lot of duplicates #5860

Open sanderegg opened 1 month ago

sanderegg commented 1 month ago

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.