You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/31 14:47:36 UTC

[GitHub] [spark] srowen commented on a change in pull request #24758: [SPARK-27794][R][DOCS][BACKPORT] Use https URL for CRAN repo

srowen commented on a change in pull request #24758: [SPARK-27794][R][DOCS][BACKPORT] Use https URL for CRAN repo
URL: https://github.com/apache/spark/pull/24758#discussion_r289421648
 
 

 ##########
 File path: dev/create-release/spark-rm/Dockerfile
 ##########
 @@ -38,7 +38,8 @@ ARG PIP_PKGS="pyopenssl pypandoc numpy pygments sphinx"
 #
 # This is all in a single "RUN" command so that if anything changes, "apt update" is run to fetch
 # the most current package versions (instead of potentially using old versions cached by docker).
-RUN echo 'deb http://cran.cnr.Berkeley.edu/bin/linux/ubuntu xenial/' >> /etc/apt/sources.list && \
+RUN apt-get clean && apt-get update && $APT_INSTALL gnupg ca-certificates apt-transport-https && \
 
 Review comment:
   This also needed `apt-transport-https` in Ubuntu 16, it seems. I tried the steps in Docker and it successfully accesses CRAN.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org