Skip to content

Commit

Permalink
fix: allow rstudio to run in an iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski authored and ableuler committed Sep 9, 2021
1 parent ba6cccc commit 6ac7fb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ RUN fix-permissions.sh /usr/local/lib/R && \
chown 1000:1000 /opt/conda && \
usermod -a -G users rstudio && \
# this hack lets some of the setup from the base renku image work here
ln -s /home/${NB_USER} /home/jovyan
ln -s /home/${NB_USER} /home/jovyan && \
# this allows rstudio to run in an iframe in the UI
echo "\nwww-frame-origin=same\n" >> /etc/rstudio/rserver.conf

USER ${NB_USER}

Expand Down

0 comments on commit 6ac7fb8

Please sign in to comment.