Skip to content

Commit c887112

Browse files
committed
HBASE-23023 upgrade shellcheck used in dockerfile (#624)
Signed-off-by: stack <stack@apache.org> (cherry picked from commit 1cb4f68)
1 parent f860fca commit c887112

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

dev-support/docker/Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,23 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
3232
libc6-dev \
3333
ruby \
3434
ruby-dev \
35-
shellcheck \
3635
wget \
3736
&& \
3837
gem install --no-document rake rubocop ruby-lint
3938

4039
ENV FINDBUGS_HOME /usr
4140

41+
####
42+
# Install shellcheck
43+
###
44+
RUN mkdir -p /opt/shellcheck && \
45+
curl -L -s -S \
46+
https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz \
47+
-o /opt/shellcheck.tar.xz && \
48+
tar xJf /opt/shellcheck.tar.xz --strip-components 1 -C /opt/shellcheck && \
49+
ln -s /opt/shellcheck/shellcheck /usr/bin/shellcheck && \
50+
rm -f /opt/shellcheck.tar.xz
51+
4252
###
4353
# Avoid out of memory errors in builds
4454
###

0 commit comments

Comments
 (0)