Skip to content

[release-3.3] fix Dockerfile wildcard character error

Created by: besscroft

test environment: OS: Debian GNU/Linux 10 (buster) aarch64 Host: KVM Virtual Machine virt-4.2 Kernel: 4.19.0-20-arm64

if [[ $(arch) == "aarch64*" ]]; then ARCH=arm64; fi -> failed if [[ $(arch) == "aarch64"* ]]; then ARCH=arm64; fi -> success if [[ $(arch) == aarch64* ]]; then ARCH=arm64; fi -> success

I tried testing inside a Docker container and on the host machine, "aarch64*" -> failed.

This results in the inability to download the correct package in the arm64 environment.

合并请求报告