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 65566d4 commit 01a533e
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 @@ -17,7 +17,7 @@ RUN ln -s /opt/conda/bin/R /usr/bin/R && \
wget ${RSTUDIO_URL} && \
gdebi -n ${RSTUDIO_PKG} && \
rm -f ${RSTUDIO_PKG} && \
echo '/opt/conda/lib/R/lib' > /etc/ld.so.conf.d/r.conf && /sbin/ldconfig -v && \
#echo '/opt/conda/lib/R/lib' > /etc/ld.so.conf.d/r.conf && /sbin/ldconfig -v && \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
rm -f /usr/bin/R && \
chmod -R g=u /var/lib/rstudio-server && \
Expand All @@ -26,8 +26,8 @@ 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=/usr/lib' >> /etc/rstudio/rserver.conf
echo 'auth-minimum-user-id=100' >> /etc/rstudio/rserver.conf
#echo 'rsession-ld-library-path=/usr/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
Expand Down

0 comments on commit 01a533e

Please sign in to comment.