HBASE-23023 upgrade shellcheck used in dockerfile (#624)
Signed-off-by: stack <stack@apache.org>
(cherry picked from commit 1cb4f687c1
)
This commit is contained in:
parent
f860fcaa1f
commit
c887112e71
|
@ -32,13 +32,23 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
|
||||||
libc6-dev \
|
libc6-dev \
|
||||||
ruby \
|
ruby \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
shellcheck \
|
|
||||||
wget \
|
wget \
|
||||||
&& \
|
&& \
|
||||||
gem install --no-document rake rubocop ruby-lint
|
gem install --no-document rake rubocop ruby-lint
|
||||||
|
|
||||||
ENV FINDBUGS_HOME /usr
|
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
|
# Avoid out of memory errors in builds
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in New Issue