Skip to content
Snippets Groups Projects
Unverified Commit d84a1dca authored by Marco De Donno's avatar Marco De Donno Committed by GitHub
Browse files

Use https to download the .deb file if RSTUDIO_VERSION is provided

parent c4a9f540
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