Skip to content

Commit

Permalink
Shellcheck changed how they are publishing their bins
Browse files Browse the repository at this point in the history
  • Loading branch information
yorinasub17 committed Sep 3, 2020
1 parent f32ccd6 commit b6ea582
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile.shellcheck
Expand Up @@ -2,7 +2,7 @@ FROM bash:3.2

# TODO: labels here. See: http://label-schema.org/rc1/

ARG SHELLCHECK_VERSION=stable
ARG SHELLCHECK_VERSION=v0.7.1
ARG SHELLCHECK_FORMAT=gcc

# Install dependencies.
Expand All @@ -16,9 +16,7 @@ RUN set -e; \
# Install shellcheck.
RUN set -e; \
mkdir -p ~/stage \
&& wget "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" \
&& wget "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz.sha512sum" \
&& sha512 -c shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz.sha512sum \
&& wget "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" \
&& tar --xz -xvf shellcheck-"${SHELLCHECK_VERSION}".linux.x86_64.tar.xz \
&& cp shellcheck-"${SHELLCHECK_VERSION}"/shellcheck /usr/bin/ \
&& shellcheck --version \
Expand All @@ -27,4 +25,4 @@ RUN set -e; \
WORKDIR /usr/local/src/bash-commons
COPY ./.circleci/ /usr/local/src/bash-commons/.circleci/

CMD ["bash"]
CMD ["bash"]

0 comments on commit b6ea582

Please sign in to comment.