Dockerfile to build etcd
FROM ubuntu:12.04
RUN apt-get update
RUN apt-get install -y python-software-properties git
RUN add-apt-repository -y ppa:duh/golang
RUN apt-get update
RUN apt-get install -y golang
RUN git clone https://github.com/coreos/etcd.git /opt/etcd
RUN cd /opt/etcd && ./build
EXPOSE 4001 7001
ENTRYPOINT ["/opt/etcd/etcd", "-c", "0.0.0.0:4001", "-s", "0.0.0.0:7001"]
Content type
Image
Digest
sha256:b80ac88e6…
Size
86.2 MB
Last updated
about 11 years ago
docker pull quarry/etcd