Dockerfile 177 B

123456
  1. FROM golang
  2. ADD . /go/src/github.com/coreos/etcd
  3. ADD cmd/vendor /go/src/github.com/coreos/etcd/vendor
  4. RUN go install github.com/coreos/etcd
  5. EXPOSE 2379 2380
  6. ENTRYPOINT ["etcd"]