drone-pre-commit/scripts/add_hadolint.sh

7 lines
187 B
Bash
Raw Normal View History

2020-09-08 20:20:54 +00:00
#! /bin/bash
set -ex
2023-04-18 23:25:40 +00:00
VERSION=v2.12.0
2021-02-02 23:42:48 +00:00
wget -q -L -O /usr/bin/hadolint "https://github.com/hadolint/hadolint/releases/download/${VERSION}/hadolint-Linux-x86_64"
2020-09-08 20:20:54 +00:00
chmod +x /usr/bin/hadolint