k3s/vendor/go.etcd.io/etcd/Dockerfile

7 lines
177 B
Docker
Raw Normal View History

2019-06-27 19:00:26 +00:00
FROM golang
ADD . /go/src/github.com/coreos/etcd
ADD cmd/vendor /go/src/github.com/coreos/etcd/vendor
RUN go install github.com/coreos/etcd
EXPOSE 2379 2380
ENTRYPOINT ["etcd"]