From 7d24447f54abde229d1b8b159c424130de308a1c Mon Sep 17 00:00:00 2001 From: bobz965 Date: Tue, 22 Oct 2024 07:50:04 +0000 Subject: [PATCH] fix: bfd should use multi arch Signed-off-by: bobz965 --- dist/images/Dockerfile.base | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/images/Dockerfile.base b/dist/images/Dockerfile.base index e58088a5065..171ff6f927d 100644 --- a/dist/images/Dockerfile.base +++ b/dist/images/Dockerfile.base @@ -143,9 +143,9 @@ ARG DUMB_INIT_VERSION="1.2.5" RUN curl -sSf -L --retry 5 -o /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_$(arch) && \ chmod +x /usr/bin/dumb-init -ARG BFDD_VERSION="v0.5.4" -RUN curl -sSf -L --retry 3 -o /usr/local/bin/bfdd-control https://github.com/bobz965/bfd-binary-for-kube-ovn-cni/releases/download/${BFDD_VERSION}/bfdd-control && \ - curl -sSf -L --retry 3 -o /usr/local/bin/bfdd-beacon https://github.com/bobz965/bfd-binary-for-kube-ovn-cni/releases/download/${BFDD_VERSION}/bfdd-beacon && \ +ARG BFDD_VERSION="v0.5.5" +RUN curl -sSf -L --retry 3 -o /usr/local/bin/bfdd-control https://github.com/bobz965/bfd-binary-for-kube-ovn-cni/releases/download/${BFDD_VERSION}/bfdd-control-linux-$(arch) && \ + curl -sSf -L --retry 3 -o /usr/local/bin/bfdd-beacon https://github.com/bobz965/bfd-binary-for-kube-ovn-cni/releases/download/${BFDD_VERSION}/bfdd-beacon-linux-$(arch) && \ chmod +x /usr/local/bin/bfdd-control /usr/local/bin/bfdd-beacon && \ setcap CAP_NET_BIND_SERVICE+eip $(readlink -f $(which bfdd-beacon))