Skip to content

Instantly share code, notes, and snippets.

@stevenscg
Created August 26, 2016 13:15
Show Gist options
  • Save stevenscg/baffc8696a7dfe05666b6716e966c040 to your computer and use it in GitHub Desktop.
Save stevenscg/baffc8696a7dfe05666b6716e966c040 to your computer and use it in GitHub Desktop.
Building consul-template from source
docker run --rm -it -v $PWD:/opt/build golang:1.7 sh
then run:
mkdir -p $GOPATH/src/github.com/hashicorp/
cd $GOPATH/src/github.com/hashicorp/
git clone https://github.com/hashicorp/consul-template.git
cd consul-template
make updatedeps
make bootstrap
make dev
cp bin/consul-template /opt/build/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment