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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to