Skip to content
Snippets Groups Projects
Unverified Commit fc4dc9bd authored by Carl Boettiger's avatar Carl Boettiger Committed by GitHub
Browse files

Merge pull request #190 from mdedonno1337/patch-1

Use https to download the .deb file if RSTUDIO_VERSION is provided
parents c4a9f540 d84a1dca
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ RUN apt-get update \
wget \
&& if [ -z "$RSTUDIO_VERSION" ]; \
then RSTUDIO_URL="https://www.rstudio.org/download/latest/stable/server/bionic/rstudio-server-latest-amd64.deb"; \
else RSTUDIO_URL="http://download2.rstudio.org/server/bionic/amd64/rstudio-server-${RSTUDIO_VERSION}-amd64.deb"; fi \
else RSTUDIO_URL="https://download2.rstudio.org/server/bionic/amd64/rstudio-server-${RSTUDIO_VERSION}-amd64.deb"; fi \
&& wget -q $RSTUDIO_URL \
&& dpkg -i rstudio-server-*-amd64.deb \
&& rm rstudio-server-*-amd64.deb \
......
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