You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/05/15 07:21:13 UTC

[hbase] branch branch-1 updated: HBASE-22421 update ruby used to run rubocop on branch-1

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

psomogyi pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1 by this push:
     new 1958b94  HBASE-22421 update ruby used to run rubocop on branch-1
1958b94 is described below

commit 1958b94f004ecaa1dd62b17e5abd99893f9b4b4d
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Tue May 14 22:42:02 2019 -0500

    HBASE-22421 update ruby used to run rubocop on branch-1
    
    Signed-off-by: Peter Somogyi <ps...@apache.org>
---
 dev-support/docker/Dockerfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 0ba8a8d..cdc5a44 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -130,8 +130,7 @@ RUN cabal install shellcheck --global
 # Install bats
 ####
 RUN add-apt-repository -y ppa:duggan/bats
-RUN apt-get -q update
-RUN apt-get -q install --no-install-recommends -y bats
+RUN apt-key update && apt-get -q update && apt-get -q install --no-install-recommends -y bats
 
 ####
 # Install pylint
@@ -150,8 +149,8 @@ RUN echo 'gem: --no-rdoc --no-ri' >> /root/.gemrc
 RUN apt-add-repository ppa:brightbox/ruby-ng
 RUN apt-get -q update
 
-RUN apt-get -q install --no-install-recommends -y ruby2.2 ruby2.2-dev ruby-switch
-RUN ruby-switch --set ruby2.2
+RUN apt-get -q install --no-install-recommends -y ruby2.3 ruby2.3-dev ruby-switch
+RUN ruby-switch --set ruby2.3
 
 ####
 # Install rubocop