Skip to content

Commit

Permalink
Merge pull request #91 from ucsd-ets/rstudio-openssl
Browse files Browse the repository at this point in the history
Rstudio openssl
  • Loading branch information
dafeliton authored Oct 8, 2024
2 parents 9dd4cfb + 59e438b commit 1b00e4d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions images/rstudio-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,17 @@ 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') >> /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="/opt/conda/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server:/opt/conda/lib/R/lib"
SHELL=/bin/bash
#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 1b00e4d

Please sign in to comment.