https://github.com/coreos/etcd
Raw File
Tip revision: f026d1c14ebc0959bf875a7919717ec9a31be680 authored by Xiang Li on 23 December 2013, 04:43:19 UTC
Merge pull request #414 from philips/getting-started
Tip revision: f026d1c
Dockerfile
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
ADD . /opt/etcd
RUN cd /opt/etcd && ./build
EXPOSE 4001 7001
ENTRYPOINT ["/opt/etcd/etcd"]

back to top