Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton authored Oct 9, 2024
1 parent e449595 commit 9b7e5b8
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 @@ -27,14 +27,14 @@ 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

## Shim in our nss-wrapper so that user getpwent() lookups succeed
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
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" \
SHELL=/bin/bash
SHELL=/bin/bash \
LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/opt/conda/lib"

COPY ./lib /opt/k8s-support/lib

Expand Down

0 comments on commit 9b7e5b8

Please sign in to comment.