drone-pre-commit/scripts/add_hadolint.sh

7 lines
187 B
Bash
Executable File

#! /bin/bash
set -ex
VERSION=v1.22.1
wget -q -L -O /usr/bin/hadolint "https://github.com/hadolint/hadolint/releases/download/${VERSION}/hadolint-Linux-x86_64"
chmod +x /usr/bin/hadolint