File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 33FROM ubuntu:trusty
44MAINTAINER ulexus@gmail.com
55
6+ ENV ETCDCTL_VERSION v2.0.9
7+ ENV ETCDCTL_ARCH linux-amd64
8+
69RUN apt-get -y update
710RUN apt-get -y upgrade
811
@@ -12,6 +15,10 @@ RUN apt-get -y install qemu-kvm
1215# Install Ceph common utilities/libraries
1316RUN apt-get -y install ceph-common
1417
18+ # Install etcdctl
19+ RUN wget -q -O- "https://github.com/coreos/etcd/releases/download/${ETCDCTL_VERSION}/etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}.tar.gz" |tar xfz - -C/tmp/ etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}/etcdctl
20+ RUN mv /tmp/etcd-${ETCDCTL_VERSION}-${ETCDCTL_ARCH}/etcdctl /usr/local/bin/etcdctl
21+
1522# Add entrypoint script
1623ADD entrypoint.sh /usr/local/bin/entrypoint.sh
1724RUN chmod +x /usr/local/bin/entrypoint.sh
You can’t perform that action at this time.
0 commit comments