drone-pre-commit/scripts/add_hadolint.sh
Ian Fijolek e82b8757c2
All checks were successful
continuous-integration/drone/push Build is passing
Install golang from tar
2021-02-02 15:42:48 -08:00

7 lines
187 B
Bash
Executable File

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