mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 14:27:35 +08:00
Simplify docker instructions
This commit is contained in:
@@ -204,8 +204,8 @@ From Snap Store:
|
|||||||
From Docker Hub:
|
From Docker Hub:
|
||||||
|
|
||||||
```sh
|
```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:stable myscript
|
||||||
docker run --rm -v "$PWD:/mnt" koalaman/shellcheck 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.
|
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