File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM bash:3.2
2
2
3
3
# TODO: labels here. See: http://label-schema.org/rc1/
4
4
5
- ARG SHELLCHECK_VERSION=stable
5
+ ARG SHELLCHECK_VERSION=v0.7.1
6
6
ARG SHELLCHECK_FORMAT=gcc
7
7
8
8
# Install dependencies.
@@ -16,9 +16,7 @@ RUN set -e; \
16
16
# Install shellcheck.
17
17
RUN set -e; \
18
18
mkdir -p ~/stage \
19
- && wget "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" \
20
- && wget "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz.sha512sum" \
21
- && sha512 -c shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz.sha512sum \
19
+ && wget "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" \
22
20
&& tar --xz -xvf shellcheck-"${SHELLCHECK_VERSION}".linux.x86_64.tar.xz \
23
21
&& cp shellcheck-"${SHELLCHECK_VERSION}"/shellcheck /usr/bin/ \
24
22
&& shellcheck --version \
@@ -27,4 +25,4 @@ RUN set -e; \
27
25
WORKDIR /usr/local/src/bash-commons
28
26
COPY ./.circleci/ /usr/local/src/bash-commons/.circleci/
29
27
30
- CMD ["bash"]
28
+ CMD ["bash"]
You can’t perform that action at this time.
0 commit comments