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
2021-02-17 18:47:01 +00:00
VERSION=v1.22.1
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