Simplify docker instructions
This commit is contained in:
parent
0ab3a726d3
commit
5b177d62cb
|
@ -204,8 +204,8 @@ From Snap Store:
|
|||
From Docker Hub:
|
||||
|
||||
```sh
|
||||
docker pull koalaman/shellcheck:stable # Or :v0.4.7 for that version, or :latest for daily builds
|
||||
docker run --rm -v "$PWD:/mnt" koalaman/shellcheck myscript
|
||||
docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable myscript
|
||||
# Or :v0.4.7 for that version, or :latest for daily builds
|
||||
```
|
||||
|
||||
or use `koalaman/shellcheck-alpine` if you want a larger Alpine Linux based image to extend. It works exactly like a regular Alpine image, but has shellcheck preinstalled.
|
||||
|
|
Loading…
Reference in New Issue