Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 -y

RUN 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"]
```