File tree Expand file tree Collapse file tree 2 files changed +2
-44
lines changed Expand file tree Collapse file tree 2 files changed +2
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if [ ! -f "/usr/lib/rstudio-server/bin/rserver" ]; then
23
23
fi
24
24
apt-get update
25
25
# required by rstudio server
26
- apt-get install -y --no-install-recommends libclang-dev
26
+ apt-get install -y --no-install-recommends libclang-dev gdebi-core
27
27
echo " Installing RStudio Server. Please wait..."
28
28
wget -q https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.4.1717-amd64.deb -O ./rstudio.deb
29
29
gdebi --non-interactive ./rstudio.deb
@@ -63,7 +63,6 @@ if [ $INSTALL_ONLY = 0 ] ; then
63
63
# Fix tmp permissions - does not work if tmp permissions are wrong
64
64
chmod 1777 /tmp
65
65
# Run rstudio with rstudio user and empty ld_library_path (otherwise it gets stuck)
66
- LD_LIBRARY_PATH=" " LD_PRELOAD=" " USER=rstudio /usr/lib/rstudio-server/bin/rserver --server-working-dir=$WORKSPACE_HOME --server-daemonize=0 --auth-none=1 --auth-validate-users=0 --www-port $PORT
66
+ LD_LIBRARY_PATH=" " LD_PRELOAD=" " USER=rstudio /usr/lib/rstudio-server/bin/rserver --server-working-dir=$WORKSPACE_HOME --server-daemonize=0 --auth-none=1 --auth-validate-users=0 --www-verify-user-agent=0 --www-frame-origin=same --www-root-path= " ./ " --www- port $PORT
67
67
sleep 10
68
68
fi
69
-
You can’t perform that action at this time.
0 commit comments