Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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"]
Docker Pull Command
Owner
binocarlos
Source Repository

Comments (0)