HBASE-22421 update ruby used to run rubocop on branch-1

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
This commit is contained in:
Sean Busbey 2019-05-14 22:42:02 -05:00 committed by Peter Somogyi
parent 299af7ad77
commit 1958b94f00
1 changed files with 3 additions and 4 deletions

View File

@ -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