From 5d267b9fc320025068f0963388b2962a4720638b Mon Sep 17 00:00:00 2001 From: Sam Batschelet Date: Wed, 20 Feb 2019 07:06:51 -0500 Subject: [PATCH] Dockerfile: add etcdctl Signed-off-by: Sam Batschelet --- Dockerfile.openshift | 2 +- Dockerfile.rhel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.openshift b/Dockerfile.openshift index 1327c0d095cc..262e75afe8db 100644 --- a/Dockerfile.openshift +++ b/Dockerfile.openshift @@ -13,7 +13,7 @@ FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base ENTRYPOINT ["/usr/bin/etcd"] -COPY --from=builder /go/src/go.etcd.io/etcd/bin/etcd /usr/bin/ +COPY --from=builder /go/src/go.etcd.io/etcd/bin/{etcd,etcdctl} /usr/bin/ LABEL io.k8s.display-name="etcd server" \ io.k8s.description="etcd is distributed key-value store which stores the persistent master state for Kubernetes and OpenShift." \ diff --git a/Dockerfile.rhel b/Dockerfile.rhel index 991967cbf2a9..efe90ffe4b38 100644 --- a/Dockerfile.rhel +++ b/Dockerfile.rhel @@ -13,7 +13,7 @@ FROM openshift/origin-base ENTRYPOINT ["/usr/bin/etcd"] -COPY --from=builder /go/src/go.etcd.io/etcd/bin/etcd /usr/bin/ +COPY --from=builder /go/src/go.etcd.io/etcd/bin/{etcd,etcdctl} /usr/bin/ LABEL io.k8s.display-name="etcd server" \ io.k8s.description="etcd is distributed key-value store which stores the persistent master state for Kubernetes and OpenShift." \