Build Docker Images #9
Annotations
1 error
|
build
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c rustup install nightly && rustup default nightly && case \"$TARGETARCH\" in \"386\") RUST_TARGET=\"i686-unknown-linux-musl\" MUSL=\"i686-linux-musl\" ;; \"amd64\") RUST_TARGET=\"x86_64-unknown-linux-musl\" MUSL=\"x86_64-linux-musl\" ;; \"arm64\") RUST_TARGET=\"aarch64-unknown-linux-musl\" MUSL=\"aarch64-linux-musl\" ;; *) echo \"Doesn't support $TARGETARCH architecture\" exit 1 ;; esac && wget -qO- \"https://musl.cc/$MUSL-cross.tgz\" | tar -xzC /root/ && CC=/root/$MUSL-cross/bin/$MUSL-gcc && rustup target add $RUST_TARGET && RUSTFLAGS=\"-C linker=$CC\" CC=$CC cargo build --target \"$RUST_TARGET\" --release && mv target/$RUST_TARGET/release/srun target/release/ && upx -9 target/release/srun" did not complete successfully: exit code: 2
|