github.com/kula/etcd@v0.2.1-0.20131226070625-e96234382ac0/Dockerfile (about) 1 FROM ubuntu:12.04 2 RUN apt-get update 3 RUN apt-get install -y python-software-properties git 4 RUN add-apt-repository -y ppa:duh/golang 5 RUN apt-get update 6 RUN apt-get install -y golang 7 ADD . /opt/etcd 8 RUN cd /opt/etcd && ./build 9 EXPOSE 4001 7001 10 ENTRYPOINT ["/opt/etcd/etcd"] 11