diff --git a/images/rstudio-notebook/Dockerfile b/images/rstudio-notebook/Dockerfile index 5d7855b3..16a113d2 100644 --- a/images/rstudio-notebook/Dockerfile +++ b/images/rstudio-notebook/Dockerfile @@ -6,12 +6,13 @@ FROM ghcr.io/ucsd-ets/datascience-notebook:${BASE_TAG} USER root # Follow instructions atL https://www.rstudio.com/products/rstudio/download-server/ -ENV RSTUDIO_PKG=rstudio-server-2023.09.0-463-amd64.deb -ENV RSTUDIO_URL=https://download2.rstudio.org/server/focal/amd64/${RSTUDIO_PKG} +ENV RSTUDIO_PKG=rstudio-server-1.4.1717-amd64.deb \ + RSESSION_PROXY_RSTUDIO_1_4=true +ENV RSTUDIO_URL=https://download2.rstudio.org/server/bionic/amd64/${RSTUDIO_PKG} # rstudio installation expects R to live under /usr/bin, /bin/, etc. RUN ln -s /opt/conda/bin/R /usr/bin/R && \ - gpg --keyserver keyserver.ubuntu.com --recv-key 8D275962 && \ + gpg --keyserver keyserver.ubuntu.com --recv-key E331692F && \ apt-get update && \ apt-get -qq install -y apt-utils gdebi-core dpkg-sig && \ curl -L ${RSTUDIO_URL} > ${RSTUDIO_PKG} && \ @@ -25,7 +26,7 @@ RUN ln -s /opt/conda/bin/R /usr/bin/R && \ chmod -R g=u /var/lib/rstudio-server # Revert to 1.0b6 to correct terminal bug (see https://github.com/jupyterhub/jupyter-rsession-proxy/issues/71) -RUN pip install jupyter-rsession-proxy nbconvert==5.6.1 +RUN pip install jupyter-rsession-proxy nbconvert==5.6.1 jupyter-server-proxy==3.2.2 RUN mkdir -p /etc/rstudio && echo 'auth-minimum-user-id=100' >> /etc/rstudio/rserver.conf