mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 05:21:34 -07:00
ensure docker invocation is ephemeral
Also adjust the tag to use the `:stable` tag mentioned in the prior line.
This commit is contained in:
parent
a3cd5979a2
commit
c0d4c5a106
1 changed files with 8 additions and 8 deletions
|
@ -195,7 +195,7 @@ From Docker Hub:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker pull koalaman/shellcheck:stable # Or :v0.4.7 for that version, or :latest for daily builds
|
docker pull koalaman/shellcheck:stable # Or :v0.4.7 for that version, or :latest for daily builds
|
||||||
docker run -v "$PWD:/mnt" koalaman/shellcheck myscript
|
docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable myscript
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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…
Add table
Add a link
Reference in a new issue