-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1447 from zhuangqh/add-shellcheck
fix: correct shell script format via shellcheck reports
- Loading branch information
Showing
16 changed files
with
154 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This Dockerfile is used to build an image which is used in circle CI | ||
# to run the the following check or validation: | ||
# markdownlint | ||
# misspell | ||
# ShellCheck | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y rubygems git curl \ | ||
&& gem install rake \ | ||
&& gem install bundler \ | ||
&& apt-get clean | ||
|
||
# install markdownlint | ||
RUN git clone https://github.com/markdownlint/markdownlint.git \ | ||
&& cd markdownlint && git checkout v0.4.0 && rake install | ||
|
||
# install misspell | ||
RUN git clone https://github.com/client9/misspell.git \ | ||
&& cd misspell && curl -L -o ./install-misspell.sh https://git.io/misspell && sh ./install-misspell.sh | ||
|
||
RUN mv misspell/bin/misspell /usr/local/bin/ | ||
|
||
# install shellcheck | ||
RUN apt-get install shellcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.