Skip to content

alastairhm/shellcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shellcheck

Docker

A Docker image for shellcheck

This repository provides an automated build for a Apline with shellcheck Docker image.

Build

Build the Docker image locally

docker build -t alastairhm/shellcheck .

Usage

To check the files one.sh and two.sh in your current directory:

docker run --rm -v "$PWD:/mnt" ghcr.io/alastairhm/shellcheck:master ./one.sh ./two.sh

Or setup an alias

alias shellcheck='docker run --rm -v "$PWD:/mnt" ghcr.io/alastairhm/shellcheck:master

About

Alpine docker image for shellcheck

Resources

License

Stars

Watchers

Forks

Packages