From f77d43df0f1a0ca6ec0e035e1e0eceae0083fbdf Mon Sep 17 00:00:00 2001 From: Dominic Feliton <127802411+dafeliton@users.noreply.github.com> Date: Tue, 8 Oct 2024 05:27:54 -0700 Subject: [PATCH] curl renviron --- images/rstudio-notebook/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/rstudio-notebook/Dockerfile b/images/rstudio-notebook/Dockerfile index b10ac011..d3d8e98a 100644 --- a/images/rstudio-notebook/Dockerfile +++ b/images/rstudio-notebook/Dockerfile @@ -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