The Dockerfile downloads golangci-lint-2.10.1-linux-amd64.tar.gz unconditionally, causing make check to fail during Docker build on arm64 hosts (the amd64 ELF binary cannot execute on aarch64).
The downloaded binary produces a shell syntax error because the kernel cannot interpret the ELF format for the wrong architecture:
Fix: detect the container architecture at build time via uname -m and download the matching binary with its pinned SHA-256 hash.
The Dockerfile downloads `golangci-lint-2.10.1-linux-amd64.tar.gz` unconditionally, causing `make check` to fail during Docker build on arm64 hosts (the amd64 ELF binary cannot execute on aarch64).
The downloaded binary produces a shell syntax error because the kernel cannot interpret the ELF format for the wrong architecture:
```
/usr/local/bin/golangci-lint: line 12: syntax error: unexpected ")"
make: *** [Makefile:33: lint] Error 2
```
Fix: detect the container architecture at build time via `uname -m` and download the matching binary with its pinned SHA-256 hash.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The Dockerfile downloads
golangci-lint-2.10.1-linux-amd64.tar.gzunconditionally, causingmake checkto fail during Docker build on arm64 hosts (the amd64 ELF binary cannot execute on aarch64).The downloaded binary produces a shell syntax error because the kernel cannot interpret the ELF format for the wrong architecture:
Fix: detect the container architecture at build time via
uname -mand download the matching binary with its pinned SHA-256 hash.