Skip to content

deiscc/docker-shell-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deis/docker-shell-dev

Build Status

A containerized environment for running bats tests and/or shellcheck against bash scripts.

Image Contents

  • bats for running .bats tests
  • shellcheck for running shellcheck against bash scripts
  • jq

Usage

Mount the host directory containing your bash scripts dir and bats tests dir and then simply supply the appropriate bats/shellcheck command to run:

$ docker run --rm \
  --volume /path/to/dir:/workdir \
  --workdir /workdir \
  deiscc/shell-dev:latest \
  bats tests
$ docker run --rm \
  --volume /path/to/dir:/workdir \
  --workdir /workdir \
  deiscc/shell-dev:latest \
  shellcheck scripts/*

The latest deis/shell-dev Docker image is available at:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published