drone-pre-commit/scripts/add_hadolint.sh

7 lines
186 B
Bash
Raw Normal View History

2020-09-08 20:20:54 +00:00
#! /bin/bash
set -ex
2022-01-20 20:31:46 +00:00
VERSION=v2.8.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