Skip to content

Commit

Permalink
Attempt to cleanup rstudio
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton committed Apr 20, 2024
1 parent 7299744 commit 02cc88a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions images/rstudio-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ 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'; echo 'HOME=/home' ) >> /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" \
Expand All @@ -39,9 +39,9 @@ ENV PATH="${PATH}:/usr/lib/rstudio-server/bin" \

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

RUN R -e "install.packages('rjson', repos='http://cran.rstudio.com/')" && \
R -e "install.packages('session', repos='http://cran.rstudio.com/')" && \
R -e "install.packages('rmarkdown', repos='http://cran.rstudio.com/')"
#RUN R -e "install.packages('rjson', repos='http://cran.rstudio.com/')" && \
# R -e "install.packages('session', repos='http://cran.rstudio.com/')" && \
# R -e "install.packages('rmarkdown', repos='http://cran.rstudio.com/')"

COPY ./test ./integration_tests /home/jovyan/

Expand Down

0 comments on commit 02cc88a

Please sign in to comment.