mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 22:36:33 +00:00
12 lines
191 B
Bash
Executable File
12 lines
191 B
Bash
Executable File
#! /bin/bash
|
|
|
|
# Runs hadolint from a Docker image
|
|
|
|
version=v1.17.2
|
|
|
|
docker run -i --rm \
|
|
-v "$(pwd):/data:ro" \
|
|
-w /data \
|
|
hadolint/hadolint:${version}-debian \
|
|
hadolint "$@"
|