https://github.com/etcd-io/etcd
Raw File
Tip revision: 7b289043c7beced434be4334fb909ba0b16b57b1 authored by Xiang Li on 19 August 2013, 16:45:49 UTC
Merge pull request #130 from philips/add-version-to-join2
Tip revision: 7b28904
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", "-c", "0.0.0.0:4001", "-s", "0.0.0.0:7001"]
back to top