https://github.com/coreos/etcd
Raw File
Tip revision: a2d16b52bb5a6e85b251f6f919ccdb03518e496d authored by Brandon Philips on 21 May 2014, 03:46:46 UTC
chore(server): bump to 0.4.1
Tip revision: a2d16b5
Dockerfile
FROM ubuntu:12.04
# Let's install go just like Docker (from source).
RUN apt-get update -q
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qy build-essential curl git
RUN curl -s https://go.googlecode.com/files/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
ENV PATH /usr/local/go/bin:$PATH
ADD . /opt/etcd
RUN cd /opt/etcd && ./build
EXPOSE 4001 7001
ENTRYPOINT ["/opt/etcd/bin/etcd"]

back to top