命令 进入到项目目录,然后执行以下代码 docker run --rm -v "$(pwd):/tmp/code" -e PATH="$PATH:/root/.cargo/bin" ccr.ccs.tencentyun.com/linux_environment/cargo:1.0.0 /bin/bash -c "cd /tmp/code && cargo build --release --target=x86_64-unknown-linux-musl"