stelligent / config-lint

Command line tool to validate configuration files
https://stelligent.github.io/config-lint/#/
MIT License
193 stars 39 forks source link

provide direct download/installation method #173

Closed oshaughnessy closed 4 years ago

oshaughnessy commented 4 years ago

Create a curl-based method to install the config-lint binary, like the ones described in https://github.com/aelsabbahy/goss:

# Install the latest version
curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss

# See https://github.com/aelsabbahy/goss/releases for release versions
VERSION=v0.3.10
curl -L "https://github.com/aelsabbahy/goss/releases/download/${VERSION}/goss-linux-amd64" -o /usr/local/bin/goss

chmod +rx /usr/local/bin/goss

It's the simplest way to get the job done when you're baking an AMI that would include this.

The installation instructions should be updated as part of this issue's resolution as well.