6 ms·
* conda constructor * https://github.com/conda/constructor https://github.com/conda/constructor Conda installers like miniconda3 and miniforge3 can be built us
by sterlinm 6y ago
* conda constructor *
https://github.com/conda/constructor https://github.com/conda/constructor
Conda installers like miniconda3 and miniforge3 can be built using the conda constructor package. It offers some more customization than is available with conda-pack but you can build an image of a similar size as the one you describe in your article.
If you want to use vanilla docker, I think you need three stages in your build.
Stage 1: Build the installer.
Stage 2: Run the installer.
Stage 3: Copy /venv from stage 2.
I think if you use buildkit you might be able to use a mount command in your RUN statement and get it down to 2 stages but I haven't tried that yet.