Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Dockerfile for conda #74

Open
klamann opened this issue Dec 2, 2022 · 1 comment
Open

Refactor Dockerfile for conda #74

klamann opened this issue Dec 2, 2022 · 1 comment
Assignees

Comments

@klamann
Copy link
Contributor

klamann commented Dec 2, 2022

We should switch to micromamba for faster and smaller docker builds, and use mambaorg/micromamba as base image.

Also, maybe remove the need to use conda run before every command by modifying the default shell, see https://pythonspeed.com/articles/activate-conda-dockerfile

@carsten-bo
Copy link
Contributor

We should not use the micromamba image as it doesn't support the complete conda api and doesn't come with the conda cli. It would deviate too much from the option cookiecutter option that is "conda".

Instead, we can go with the mamba base image and use mamba as it has faster package resolving. The image still also provides the conda cli in case it is needed and is therefore closer to our provided option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants