From e953fcae7938d92a7f77ddae458065b962e3e84e Mon Sep 17 00:00:00 2001 From: diwakar thyagaraj Date: Fri, 31 Jul 2020 16:03:12 +0000 Subject: [PATCH] [FIX] Add etcdctl Client to etcd Utility container Change-Id: I42292216c91f28c91962327f917a8be04c8d2ada Signed-off-by: diwakar thyagaraj --- images/etcdctl-utility/Dockerfile.ubuntu_bionic | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/etcdctl-utility/Dockerfile.ubuntu_bionic b/images/etcdctl-utility/Dockerfile.ubuntu_bionic index d1dab264..1b61cb74 100644 --- a/images/etcdctl-utility/Dockerfile.ubuntu_bionic +++ b/images/etcdctl-utility/Dockerfile.ubuntu_bionic @@ -8,7 +8,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc org.opencontainers.image.vendor='The Airship Authors' \ org.opencontainers.image.licenses='Apache-2.0' -ARG ETCDCTL_VERSION=3.4.2 +ARG ETCDCTL_VERSION=v3.4.2 ARG KUBE_VERSION=1.17.3 ENV GOOGLE_URL=https://storage.googleapis.com/etcd @@ -36,6 +36,8 @@ RUN set -xe \ oslo.rootwrap==5.8.0 \ python-openstackclient==3.18.1 \ python-swiftclient \ + && curl --silent -L "${DOWNLOAD_URL}/${ETCDCTL_VERSION}/etcd-${ETCDCTL_VERSION}-linux-amd64.tar.gz" \ + | tar -zC /usr/local/bin --strip-components=1 --wildcards -x "*/etcdctl" \ && curl --silent -L https://dl.k8s.io/v${KUBE_VERSION}/kubernetes-client-linux-amd64.tar.gz \ | tar -zC /usr/bin --strip-components=3 --wildcards -x "*/*/*/kubectl" \ && apt-get clean -y \