mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 08:02:12 +03:00
10 lines
267 B
Bash
Executable File
10 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
docker_file="$1"
|
|
version="2.12.0"
|
|
wget --quiet --output-document /tmp/hadolint "https://github.com/hadolint/hadolint/releases/download/v${version}/hadolint-Linux-x86_64"
|
|
chmod +x /tmp/hadolint
|
|
/tmp/hadolint --verbose "${docker_file}"
|
|
|