https://github.com/etcd-io/etcd
Revision 8670e1b7aad03be94f5c22c21b80e179cdc0d99d authored by Ben Johnson on 12 October 2013, 21:56:43 UTC, committed by Ben Johnson on 12 October 2013, 21:56:43 UTC
1 parent bb94015
Raw File
Tip revision: 8670e1b7aad03be94f5c22c21b80e179cdc0d99d authored by Ben Johnson on 12 October 2013, 21:56:43 UTC
Refactored.
Tip revision: 8670e1b
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