Skip to content

Commit

Permalink
curl renviron
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton authored Oct 8, 2024
1 parent dac2130 commit f77d43d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/rstudio-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ RUN pip install jupyter-rsession-proxy
RUN mkdir -p /etc/rstudio && echo 'auth-minimum-user-id=100' >> /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'; echo 'NSS_WRAPPER_PASSWD=/tmp/passwd.wrap'; echo 'NSS_WRAPPER_GROUP=/tmp/group.wrap'; echo 'CURL=/usr/bin/curl') >> /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 \
LD_LIBRARY_PATH="/usr/lib:/usr/lib/x86_64-linux-gnu:/opt/conda/lib/R/lib"
LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:/opt/conda/lib/R/lib"

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

Expand Down

0 comments on commit f77d43d

Please sign in to comment.