github.com/deis/deis@v1.13.5-0.20170519182049-1d9e59fbdbfc/tests/fixtures/test-etcd/Dockerfile (about) 1 FROM alpine:3.4 2 3 # install common packages 4 RUN apk add --no-cache curl tar 5 6 # ETCD_VERSION is actually used by the etcd daemon, and causes an issue if we 7 # format it for our use here. So, we call this something else. 8 ENV INSTALL_ETCD_VERSION v2.2.3 9 10 # install etcd and etcdctl 11 RUN curl -sSL https://github.com/coreos/etcd/releases/download/$INSTALL_ETCD_VERSION/etcd-$INSTALL_ETCD_VERSION-linux-amd64.tar.gz \ 12 | tar -vxz -C /usr/local/bin --strip=1 13 14 EXPOSE 4001 7001 2379 2380 15 CMD ["/usr/local/bin/etcd"]