mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(server/config.go): ensured params are changeable from config file and env fix(server/server.go): removed unnecessary debug line fix(server/timeout.go): removed a commented block style(server/transporter.go): put explicit vars to replace timeout expressions style(tests/server_utils.go): ran gofmt to clean up indenting
10 lines
321 B
Docker
10 lines
321 B
Docker
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", "-addr", "0.0.0.0:4001", "-bind-addr", "0.0.0.0"] |