mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 21:57:42 +00:00
12 lines
183 B
Plaintext
12 lines
183 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
# Runs hadolint from a Docker image
|
||
|
|
||
|
version=v1.17.2
|
||
|
|
||
|
docker run -i --rm \
|
||
|
-v `pwd`:/data \
|
||
|
-w /data \
|
||
|
hadolint/hadolint:${version}-debian \
|
||
|
hadolint $*
|