mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 08:01:12 +08: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:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user