From 79119865bb1a1ea206d102784b12d23817cc4c32 Mon Sep 17 00:00:00 2001 From: Krishna Harsha Voora Date: Tue, 25 Jun 2024 22:56:52 +0530 Subject: [PATCH] Pull arch specific kubectl binaries Signed-off-by: Krishna Harsha Voora --- frr/Containerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frr/Containerfile b/frr/Containerfile index 29f3729..5ca7e34 100644 --- a/frr/Containerfile +++ b/frr/Containerfile @@ -10,7 +10,9 @@ RUN dnf install --setopt=tsflags=nodocs -y \ && rm -fr /var/cache/dnf # Install latest OCP/K8s client -RUN curl https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz | tar -xzf - -C /usr/local/bin +RUN ARCH=$(arch) && \ + curl -L https://mirror.openshift.com/pub/openshift-v4/${ARCH}/clients/ocp/latest/openshift-client-linux.tar.gz | tar -xzf - -C /usr/local/bin + LABEL io.k8s.display-name="FRR Router" \ io.k8s.description="FRR Container with troubleshooting tools" \