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

dongjoon 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 e66f9d5  [SPARK-28868][INFRA] Specify Jekyll version to 3.8.6 in 
release docker image
e66f9d5 is described below

commit e66f9d5144e68a8be2e5f1af5a387e8cd1d99673
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Sun Aug 25 15:38:41 2019 -0700

    [SPARK-28868][INFRA] Specify Jekyll version to 3.8.6 in release docker image
    
    ### What changes were proposed in this pull request?
    
    This PR aims to specify Jekyll Version explicitly in our release docker 
image.
    
    ### Why are the changes needed?
    Recently, Jekyll 4.0 is released and it dropped Ruby 2.3 support.
    This breaks our release docker image build.
    ```
    Building native extensions.  This could take a while...
    ERROR:  Error installing jekyll:
            jekyll-sass-converter requires Ruby version >= 2.4.0.
    ```
    
    ### Does this PR introduce any user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    The following should succeed.
    ```
    $ docker build -t spark-rm:test --build-arg UID=501 
dev/create-release/spark-rm
    ...
    Successfully tagged spark-rm:test
    ```
    
    Closes #25578 from dongjoon-hyun/SPARK-28868.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit 6214b6a5410f1080aebed8b869498a689e978785)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/create-release/spark-rm/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/create-release/spark-rm/Dockerfile 
b/dev/create-release/spark-rm/Dockerfile
index 929997b..6104a03 100644
--- a/dev/create-release/spark-rm/Dockerfile
+++ b/dev/create-release/spark-rm/Dockerfile
@@ -76,7 +76,7 @@ RUN apt-get clean && apt-get update && $APT_INSTALL gnupg 
ca-certificates apt-tr
   Rscript -e "devtools::install_github('jimhester/lintr')" && \
   # Install tools needed to build the documentation.
   $APT_INSTALL ruby2.3 ruby2.3-dev mkdocs && \
-  gem install jekyll --no-rdoc --no-ri && \
+  gem install jekyll --no-rdoc --no-ri -v 3.8.6 && \
   gem install jekyll-redirect-from && \
   gem install pygments.rb
 


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

Reply via email to