parent
e8b4a79b65
commit
c2fcb742db
|
@ -121,6 +121,12 @@ From Docker Hub:
|
||||||
|
|
||||||
docker pull koalaman/shellcheck
|
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
|
## 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.
|
This section describes how to build ShellCheck from a source directory. ShellCheck is written in Haskell and requires 2GB of RAM to compile.
|
||||||
|
|
Loading…
Reference in New Issue