Skip to content

Commit

Permalink
try older server proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
RockfordMankiniUCSD committed Oct 11, 2023
1 parent f5b62fb commit e01800b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions images/rstudio-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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} && \
Expand All @@ -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

Expand Down

0 comments on commit e01800b

Please sign in to comment.