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

Fix Conda permissions #20

Merged
merged 1 commit into from
Dec 21, 2018
Merged

Fix Conda permissions #20

merged 1 commit into from
Dec 21, 2018

Conversation

r4vi
Copy link
Contributor

@r4vi r4vi commented Dec 21, 2018

The base image does a chown -R on /opt/conda for the default uid 1000 but since
we run as UID 1001 we need to re-chown the conda directory.

Conda is broken at the moment so users aren't using it, but once this is turned
on conda install will install packages to /opt/conda/pkgs/ which will get
wiped on reboot so maybe we need to do something similar to the pipcorn alias
that makes packages install to ~/local/

How to test

  1. In your jupyter terminal try to conda install something
    It will fail with a permissions error.
  2. Update your deployment to point to the image for this branch
  3. In your jupyter terminal try to conda install something
    Conda should install it successfully

@r4vi r4vi added the bug label Dec 21, 2018
@r4vi r4vi requested review from xoen and djsd123 December 21, 2018 10:43
Copy link
Contributor

@xoen xoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

(see comment regarding all-spark-notebook image)

The base image does a chown -R on /opt/conda for the default uid 1000 but since
we run as UID 1001 we need to re-chown the conda directory.

Conda is broken at the moment so users aren't using it, but once this is turned
on `conda install` will install packages to `/opt/conda/pkgs/` which will get
wiped on reboot so maybe we need to do something similar to the pipcorn alias
that makes packages install to ~/local/
@r4vi r4vi merged commit 9e57049 into master Dec 21, 2018
@r4vi r4vi deleted the conda_fix branch December 21, 2018 11:19
@r4vi
Copy link
Contributor Author

r4vi commented Dec 21, 2018

TODO: update helm chart

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

Successfully merging this pull request may close these issues.

2 participants