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
Miniforge Docker images #2
Conversation
A slim miniforge3 image, equivalent to miniconda3 but with some slightly different choices. - Use ubuntu LTS as base instead of debian - Keep $HOME clean, so folks can mount volumes into it Ref conda-forge/miniforge#20
- Put activate commands in user's .bashrc, since this is where PS1 is set. If we put the activate commands in /etc/bash.bashrc, the environments are set up properly but PS1 is not. This is very confusing. - Put activate commands in /etc/skel as well, so any new non-root users created also get base activated by default - Stop using 'login' shells, as they are no longer needed.
ba311a2
to
f5105fe
Compare
@conda-forge/core This is ready for review. Secrets are yet missing from this repository but otherwise this works. Multi-platform builds with docker seems like fun. |
Thanks Uwe! 😀 Does this squash images? Less familiar with the |
No, you cannot (I put |
Gotcha. Did you want to handle secrets here or in another PR? |
No, added them all now. |
Have we considered moving this to azure? |
No, I kept this on Github Actions as it was before. Happy to do that in a follow-up PR once this one is working. |
Just curious, is there a reason we want to move to Azure? Have no preference personally |
We have more workers there and these jobs are long. |
@beckermr In preparation for the follow-up PR: Can you setup the credentials in Azure? I have no access there. |
Yes! |
Pushed this branch with changed accounts to master on my fork: https://github.com/xhochy/miniforge-images/runs/1857817921, you can see the final images at https://hub.docker.com/repository/docker/xhochy/mambaforge |
Thanks Uwe! 😄 Went ahead and merged. Let's handle the Azure bits in a new PR 👍 |
This moves the
condaforge/miniforge3
andcondaforge/mambaforge
image over from https://github.com/conda-forge/docker-images and introduces image versioning.