https://github.com/binocarlos/docker-etcd
Dockerfile to build etcd and trigger the Docker index trusted builds
https://github.com/binocarlos/docker-etcd
Last synced: 4 months ago
JSON representation
Dockerfile to build etcd and trigger the Docker index trusted builds
- Host: GitHub
- URL: https://github.com/binocarlos/docker-etcd
- Owner: binocarlos
- Created: 2013-12-21T13:34:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-29T13:21:48.000Z (about 11 years ago)
- Last Synced: 2025-01-03T02:53:43.401Z (6 months ago)
- Language: Shell
- Size: 160 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-etcd
===========Dockerfile to build etcd
```
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
RUN git clone https://github.com/coreos/etcd.git /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"]
```