Skip to content

Commit

Permalink
Merge pull request #1237 from TimStewartJ/tim/rsession-library-path
Browse files Browse the repository at this point in the history
Add Conda env library path to RStudio configuration
  • Loading branch information
yuvipanda authored Feb 15, 2023
2 parents 6d6e5ff + 348efa2 commit 8c0f49e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions repo2docker/buildpacks/conda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ def get_env_scripts(self):
echo auth-none=1 >> /etc/rstudio/rserver.conf && \
echo auth-minimum-user-id=0 >> /etc/rstudio/rserver.conf && \
echo "rsession-which-r={env_prefix}/bin/R" >> /etc/rstudio/rserver.conf && \
echo "rsession-ld-library-path={env_prefix}/lib" >> /etc/rstudio/rserver.conf && \
echo www-frame-origin=same >> /etc/rstudio/rserver.conf
""",
),
Expand Down

0 comments on commit 8c0f49e

Please sign in to comment.