Skip to content
Snippets Groups Projects
Commit 3660ec27 authored by Gergely Daróczi's avatar Gergely Daróczi Committed by Carl Boettiger
Browse files

installing RStudio Server v1.2 (#135)

* RStudio Server v1.2.1335 (and latest from now on) new path

* install new dependecies for RStudio Server: libclang-dev

* put new apt packges on their own lines

* one-liner if/then/else for the RStudio Server download URL

* fix if/then

* add missing semicolon
parent 2948c5c5
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,20 @@ RUN apt-get update \
python-setuptools \
sudo \
wget \
libclang-dev \
libclang-3.8-dev \
libobjc-6-dev \
libclang1-3.8 \
libclang-common-3.8-dev \
libllvm3.8 \
libobjc4 \
libgc1c2 \
&& wget -O libssl1.0.0.deb http://ftp.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u8_amd64.deb \
&& dpkg -i libssl1.0.0.deb \
&& rm libssl1.0.0.deb \
&& RSTUDIO_LATEST=$(wget --no-check-certificate -qO- https://s3.amazonaws.com/rstudio-server/current.ver) \
&& [ -z "$RSTUDIO_VERSION" ] && RSTUDIO_VERSION=$RSTUDIO_LATEST || true \
&& wget -q http://download2.rstudio.org/rstudio-server-${RSTUDIO_VERSION}-amd64.deb \
&& dpkg -i rstudio-server-${RSTUDIO_VERSION}-amd64.deb \
&& if [ -z "$RSTUDIO_VERSION" ]; then RSTUDIO_URL="https://www.rstudio.org/download/latest/stable/server/debian9_64/rstudio-server-latest-amd64.deb"; else RSTUDIO_URL="http://download2.rstudio.org/rstudio-server-${RSTUDIO_VERSION}-amd64.deb"; fi \
&& wget -q $RSTUDIO_URL \
&& dpkg -i rstudio-server-*-amd64.deb \
&& rm rstudio-server-*-amd64.deb \
## Symlink pandoc & standard pandoc templates for use system-wide
&& ln -s /usr/lib/rstudio-server/bin/pandoc/pandoc /usr/local/bin \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment