Skip to content

Instantly share code, notes, and snippets.

@tmtk75
Created June 29, 2014 02:21
Show Gist options
  • Save tmtk75/60ae42c21acf3f555c95 to your computer and use it in GitHub Desktop.
Save tmtk75/60ae42c21acf3f555c95 to your computer and use it in GitHub Desktop.
FROM centos
RUN yum install -y http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
RUN yum install -y golang
RUN yum install -y git
ENV GOPATH /.go
RUN go get -u github.com/armon/consul-kv
RUN go get -u github.com/hashicorp/envconsul
WORKDIR /.go/src/github.com/hashicorp/envconsul
RUN go build
CMD ["cp", "envconsul", "/target"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment