Closed pdiakumis closed 2 months ago
Explore multi-stage image builds. We can initially build the conda environments within a continuum image (e.g. https://hub.docker.com/r/continuumio/miniconda3/tags) then simply copy those environment folders into a base bioconda image such as https://quay.io/repository/bioconda/base-glibc-busybox-bash. This should bring down the image size significantly.
See e.g. https://uwekorn.com/2021/03/01/deploying-conda-environments-in-docker-how-to-do-it-right.html
Explore multi-stage image builds. We can initially build the conda environments within a continuum image (e.g. https://hub.docker.com/r/continuumio/miniconda3/tags) then simply copy those environment folders into a base bioconda image such as https://quay.io/repository/bioconda/base-glibc-busybox-bash. This should bring down the image size significantly.
See e.g. https://uwekorn.com/2021/03/01/deploying-conda-environments-in-docker-how-to-do-it-right.html