Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton authored Oct 9, 2024
1 parent e85fa9c commit e449595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/rstudio-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ 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 && \
echo 'rsession-ld-library-path=/opt/conda/lib' >> /etc/rstudio/rserver.conf
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') >> /opt/conda/lib/R/etc/Renviron.site
RUN ( echo 'LD_PRELOAD=/opt/k8s-support/lib/libnss_wrapper.so:/lib/x86_64-linux-gnu/libcurl-gnutls.so.3'; 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 e449595

Please sign in to comment.