Fix an issue with zun-cni-daemon building images in aarch64

In the aarch64 image build,
use debian_arch to determine packages of different architectures.

Closes-Bug: #2036874
Change-Id: Ic86e6c22840f658bb68387aac688918d4db1f766
(cherry picked from commit 0eed86bb02)
This commit is contained in:
renliang 2023-06-09 16:25:14 +08:00
parent 26de85f2f4
commit 83987b16a6

View File

@ -38,7 +38,7 @@ RUN chmod 750 /etc/sudoers.d \
{% block zun_cni_daemon_version %}
ARG zun_cni_daemon_version=0.7.1
ARG zun_cni_daemon_url=https://github.com/containernetworking/plugins/releases/download/v${zun_cni_daemon_version}/cni-plugins-amd64-v${zun_cni_daemon_version}.tgz
ARG zun_cni_daemon_url=https://github.com/containernetworking/plugins/releases/download/v${zun_cni_daemon_version}/cni-plugins-{{debian_arch}}-v${zun_cni_daemon_version}.tgz
{% endblock %}
RUN curl -o /tmp/cni-plugins.tgz ${zun_cni_daemon_url} \