Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binocarlos/etcdctl
Dockerfile to package etcdctl
https://github.com/binocarlos/etcdctl
Last synced: 11 days ago
JSON representation
Dockerfile to package etcdctl
- Host: GitHub
- URL: https://github.com/binocarlos/etcdctl
- Owner: binocarlos
- Created: 2014-07-27T20:34:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T08:56:52.000Z (over 9 years ago)
- Last Synced: 2024-04-14T14:36:39.766Z (7 months ago)
- Language: Makefile
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
etcdctl
=======Dockerfile to package etcdctl
```
FROM ubuntu:12.04# Update package repository
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" > /etc/apt/sources.list
RUN apt-get update -yRUN apt-get install -y curl
RUN curl -L https://github.com/coreos/etcd/releases/download/v0.4.5/etcd-v0.4.5-linux-amd64.tar.gz -o /tmp/etcd-v0.4.5-linux-amd64.tar.gz
RUN cd /tmp && gzip -dc etcd-v0.4.5-linux-amd64.tar.gz | tar -xof -
RUN cp -f /tmp/etcd-v0.4.5-linux-amd64/etcdctl /usr/local/bin
RUN rm -rf /tmp/etcd-v0.4.5-linux-amd64.tar.gz
ENTRYPOINT ["/usr/local/bin/etcdctl"]
```