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
|
@ -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…
Reference in New Issue