OHDSI / Broadsea

Broadsea deploys the core OHDSI technology stack (Atlas & R Hades), using cross-platform Docker container technology.
http://ohdsi.github.io/Broadsea/
Apache License 2.0
71 stars 54 forks source link

Exploring Multi-stage Builds #119

Open haydenbspence opened 6 months ago

haydenbspence commented 6 months ago

The current stack is ~5.68 GB. A core builder image which contains build-time libraries for multi-stage builds could significantly reduce the size of final images. Further, permissions and other settings could be maintained up-stream using this method.

Docker Documentation on Multi-stage builds

Example from JupyterLab using Multi-stage and Incremental Images

Uwe Korn's Blog Post on Conda Environments using Multi-stage