https://github.com/etcd-io/etcd
Raw File
Tip revision: 088a01f19cda4818716c5a2b6a216752ca8825e4 authored by Ben Johnson on 17 October 2013, 16:27:22 UTC
Merge pull request #248 from benbjohnson/build-fail
Tip revision: 088a01f
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