Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Set up user installable python3 env #21

Merged
merged 2 commits into from
May 3, 2019
Merged

Set up user installable python3 env #21

merged 2 commits into from
May 3, 2019

Conversation

yuvipanda
Copy link
Contributor

This lets users run python to get python3,
pip to get python3's pip, etc. They can install
packages without having to be root

This lets users run python to get python3,
pip to get python3's pip, etc. They can install
packages without having to be root
If you install as root, it mixes file ownership
in /opt/venv, causing issues when non-root users
wanna install packages later.
@yuvipanda
Copy link
Contributor Author

I removed --upgrade since it doesn't do much in this case when we are already pinning the versions of the libraries.

@cboettig
Copy link
Member

cboettig commented May 3, 2019

This looks great, thanks @yuvipanda . Really appreciate your help and your expertise!

@cboettig cboettig merged commit c65aeef into rocker-org:master May 3, 2019
@@ -1,11 +1,13 @@
FROM rocker/tensorflow:3.6.0

# Python Xgboost for CPU
RUN pip3 install \
USER rstudio
RUN pip3 --no-cache-dir install \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think there is a typo here. Whoops

@yuvipanda
Copy link
Contributor Author

Very glad to help, @cboettig!

cboettig added a commit that referenced this pull request May 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants