github.com/spg/deis@v1.7.3/tests/fixtures/test-etcd/Dockerfile (about) 1 FROM alpine:3.1 2 3 # install common packages 4 RUN apk add --update-cache curl tar && rm -rf /var/cache/apk/* 5 6 ENV ETCD_VERSION v0.4.9 7 8 # install etcd and etcdctl 9 RUN curl -sSL https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz \ 10 | tar -vxz -C /usr/local/bin --strip=1 11 12 EXPOSE 4001 7001 13 CMD ["/usr/local/bin/etcd"]