提交 c2fcb742 编写于 作者: R Robert de Bock 提交者: koalaman

Update README.md

Adding a usage example for Docker.
上级 e8b4a79b
......@@ -121,6 +121,12 @@ From Docker Hub:
docker pull koalaman/shellcheck
Using the Docker image can be done like so:
docker run -v $(pwd):/scripts koalaman/shellcheck /sripts/myscript.sh
Here the local directory ( $(pwd) ) is mounted into the containers directory "/scripts". The script "myscript.sh" is checked.
## Compiling from source
This section describes how to build ShellCheck from a source directory. ShellCheck is written in Haskell and requires 2GB of RAM to compile.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册