https://github.com/coreos/etcd
Raw File
Tip revision: f4991004261ec442a3b58637fe9d175e057a4254 authored by Ben Johnson on 14 November 2013, 03:38:06 UTC
Merge branch 'master' of https://github.com/benbjohnson/etcd into benbjohnson-master
Tip revision: f499100
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