You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/07/01 15:38:29 UTC

[spark] branch branch-2.4 updated: [SPARK-32089][R][BUILD] Upgrade R version to 4.0.2 in the release DockerFiile

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new bc1acfe  [SPARK-32089][R][BUILD] Upgrade R version to 4.0.2 in the release DockerFiile
bc1acfe is described below

commit bc1acfeaab93998df61af8319df85cc949d8f0d0
Author: HyukjinKwon <gu...@apache.org>
AuthorDate: Wed Jun 24 14:56:55 2020 +0000

    [SPARK-32089][R][BUILD] Upgrade R version to 4.0.2 in the release DockerFiile
    
    This PR proposes to upgrade R version to 4.0.2 in the release docker image. As of SPARK-31918, we should make a release with R 4.0.0+ which works with R 3.5+ too.
    
    To unblock releases on CRAN.
    
    No, dev-only.
    
    Manually tested via scripts under `dev/create-release`, manually attaching to the container and checking the R version.
    
    Closes #28922 from HyukjinKwon/SPARK-32089.
    
    Authored-by: HyukjinKwon <gu...@apache.org>
    Signed-off-by: Wenchen Fan <we...@databricks.com>
---
 dev/create-release/spark-rm/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev/create-release/spark-rm/Dockerfile b/dev/create-release/spark-rm/Dockerfile
index 192f456..0de0945 100644
--- a/dev/create-release/spark-rm/Dockerfile
+++ b/dev/create-release/spark-rm/Dockerfile
@@ -21,7 +21,7 @@
 # * Java 8
 # * Ivy
 # * Python/PyPandoc (2.7.12/3.5.2)
-# * R-base/R-base-dev (3.3.2+)
+# * R-base/R-base-dev (4.0.2)
 # * Ruby 2.3 build utilities
 
 FROM ubuntu:16.04
@@ -39,9 +39,9 @@ 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 apt-get clean && apt-get update && $APT_INSTALL gnupg ca-certificates apt-transport-https && \
-  echo 'deb https://cloud.r-project.org/bin/linux/ubuntu xenial/' >> /etc/apt/sources.list && \
+  echo 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/' >> /etc/apt/sources.list && \
   gpg --keyserver keyserver.ubuntu.com --recv-key E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
-  gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | apt-key add - && \
+  gpg -a --export E084DAB9 | apt-key add - && \
   apt-get clean && \
   rm -rf /var/lib/apt/lists/* && \
   apt-get clean && \


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