Skip to content

Commit

Permalink
HBASE-23023 upgrade shellcheck used in dockerfile (apache#624)
Browse files Browse the repository at this point in the history
Signed-off-by: stack <[email protected]>
(cherry picked from commit 1cb4f68)
(cherry picked from commit d9b4982)

Change-Id: I6ac5beaed2cf85eb79e337a42094cc6ceb1fbdda
  • Loading branch information
busbey authored and Jenkins committed Sep 17, 2019
1 parent 354b651 commit 9d0b81f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion dev-support/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,23 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
libc6-dev \
ruby \
ruby-dev \
shellcheck \
wget \
&& \
gem install --no-document rake rubocop ruby-lint

ENV FINDBUGS_HOME /usr

####
# Install shellcheck
###
RUN mkdir -p /opt/shellcheck && \
curl -L -s -S \
https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz \
-o /opt/shellcheck.tar.xz && \
tar xJf /opt/shellcheck.tar.xz --strip-components 1 -C /opt/shellcheck && \
ln -s /opt/shellcheck/shellcheck /usr/bin/shellcheck && \
rm -f /opt/shellcheck.tar.xz

###
# Avoid out of memory errors in builds
###
Expand Down

0 comments on commit 9d0b81f

Please sign in to comment.