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 2022/08/05 13:48:23 UTC

[spark] branch master updated: [SPARK-39980][INFRA] Change infra image to static tag: `ubuntu:focal-20220801`

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b481ed36d12 [SPARK-39980][INFRA] Change infra image to static tag: `ubuntu:focal-20220801`
b481ed36d12 is described below

commit b481ed36d129982bdd5aedd0d5864dd954dad006
Author: Yikun Jiang <yi...@gmail.com>
AuthorDate: Fri Aug 5 22:47:57 2022 +0900

    [SPARK-39980][INFRA] Change infra image to static tag: `ubuntu:focal-20220801`
    
    ### What changes were proposed in this pull request?
    Change infra image to static tag: ubuntu:focal-20220801 (current latest 20.04). This patch don't bring any real change on image because ubuntu:20.04 and ubuntu:focal-20220801 are point to same hash at current time.
    
    ```shell
    $ docker run -ti ubuntu:focal-20220801 bash
    Digest: sha256:af5efa9c28de78b754777af9b4d850112cad01899a5d37d2617bb94dc63a49aa
    Status: Downloaded newer image for ubuntu:focal-20220801
    
    $ docker run -ti ubuntu:20.04 bash
    Digest: sha256:af5efa9c28de78b754777af9b4d850112cad01899a5d37d2617bb94dc63a49aa
    Status: Downloaded newer image for ubuntu:20.04
    ```
    
    ### Why are the changes needed?
    - The `ubuntu:20.04` is not a static tag, it is for ubuntu latest 20.04 version, Ubuntu upgrades the version [every 1-2 months](https://github.com/docker-library/official-images/commits/master/library/ubuntu).
    - If we don't pin the ubuntu version to specific static tag, once the ubuntu upgrade the version, the image cache will be outdate. Then the infra image of CI job will do full refresh, it makes CI unstable just like SPARK-39831 .
    
    So, we need a planned upgrade of Ubuntu in infra to aovid unstable.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    CI passed
    
    Closes #37403 from Yikun/patch-33.
    
    Authored-by: Yikun Jiang <yi...@gmail.com>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 dev/infra/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/infra/Dockerfile b/dev/infra/Dockerfile
index b0ae2dcb0c6..68f448a1016 100644
--- a/dev/infra/Dockerfile
+++ b/dev/infra/Dockerfile
@@ -16,7 +16,8 @@
 #
 
 # Image for building and testing Spark branches. Based on Ubuntu 20.04.
-FROM ubuntu:20.04
+# See also in https://hub.docker.com/_/ubuntu
+FROM ubuntu:focal-20220801
 
 ENV FULL_REFRESH_DATE 20220706
 


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