-
Notifications
You must be signed in to change notification settings - Fork 282
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
init fails in miniconda3 #162
Comments
If asking why I'm doing
|
Could you provide a full list of commands to reproduce this issue. I can't reproduce it following the commands:
|
and for the activation you were trying to reproduce there
Activation will work if you |
This is happening because you are logging in as the wrong user. Do you have a particular reason for this? |
CI systems generally don’t run containers as root. Nor is it secure practice in general. Coda generally works as a different user if you give it some writable paths, except for |
Right, this conversation is hard to have when it's spanning so many issues and prs, sorry about that.
So, I think we want to be running the alpine images. These don't have bash as pointed out #159. So, running conda build does not always work. I think the conversation #159 (comment) is a slicker idea then adding bash as a package installed in the image. If you need bash you can also install it from the conda-forge channel with conda when you are installing your other build dependencies using |
Running the alpine image doesn't help either. The CI system will use its own uid. User permissions are just fundamentally broken in Docker, and you have to do a lot of hoop-jumping if the container is needed to write things. |
This may only be when not run as root, due to lack of
sudo
.The text was updated successfully, but these errors were encountered: