Cross-compile rust projects with docker
Build image
podman build . -t rust_build_linux_arm64 -f Dockerfile.linuxarm64
Build to linux/arm64 from project directory
podman run --rm -ti -v `pwd`:/app rust_build_linux_arm64
podman build . -t rust_build_linux_arm64 -f Dockerfile.linuxarm64
podman run --rm -ti -v `pwd`:/app rust_build_linux_arm64