Skip to content

Commit

Permalink
https://github.com/rstudio/rstudio/issues/14060
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton authored Oct 8, 2024
1 parent 0eb5d87 commit 88caa72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/rstudio-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ RUN ln -s /opt/conda/bin/R /usr/bin/R && \

RUN pip install jupyter-rsession-proxy

RUN mkdir -p /etc/rstudio && echo 'auth-minimum-user-id=100' >> /etc/rstudio/rserver.conf
RUN mkdir -p /etc/rstudio && \
echo 'auth-minimum-user-id=100' >> /etc/rstudio/rserver.conf && \
echo 'rsession-ld-library-path=/opt/conda/lib' >> /etc/rstudio/rserver.conf

## Shim in our nss-wrapper so that user getpwent() lookups succeed
RUN ( echo 'LD_PRELOAD=/opt/k8s-support/lib/libnss_wrapper.so'; echo 'NSS_WRAPPER_PASSWD=/tmp/passwd.wrap'; echo 'NSS_WRAPPER_GROUP=/tmp/group.wrap'; echo 'PATH=/usr/bin:$PATH') >> /opt/conda/lib/R/etc/Renviron.site
RUN ( echo 'LD_PRELOAD=/opt/k8s-support/lib/libnss_wrapper.so'; echo 'NSS_WRAPPER_PASSWD=/tmp/passwd.wrap'; echo 'NSS_WRAPPER_GROUP=/tmp/group.wrap') >> /opt/conda/lib/R/etc/Renviron.site

## The desktop package uses /usr/lib/rstudio/bin
ENV PATH="${PATH}:/usr/lib/rstudio-server/bin" \
Expand Down

0 comments on commit 88caa72

Please sign in to comment.