You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2019/09/17 02:40:06 UTC
[hbase] branch branch-2.1 updated: HBASE-23023 upgrade shellcheck
used in dockerfile (#624)
This is an automated email from the ASF dual-hosted git repository.
busbey pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new c887112 HBASE-23023 upgrade shellcheck used in dockerfile (#624)
c887112 is described below
commit c887112e7144fade8c851c6c5872e9022b4c9f5c
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Sat Sep 14 14:03:02 2019 -0500
HBASE-23023 upgrade shellcheck used in dockerfile (#624)
Signed-off-by: stack <st...@apache.org>
(cherry picked from commit 1cb4f687c1772d6b80d383247978efd7b05520d7)
---
dev-support/docker/Dockerfile | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index da673f7..6a3f377 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -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
###