Open TheSilkky opened 1 year ago
This feels quite strange—is there a set of commands I can use to reproduce the issue? (I'm assuming this is for the Lemmy project)
If your on a x64 machine maybe you could try building my Docker image locally, excluding the amd64 builder? Probably a bit easier then setting up everything for cross compiling locally.
I think this should work, you just need Docker installed.
docker buildx build --platform=linux/arm64 --build-arg LEMMY_VERSION=0.18.2 -t some/thing:latest .
cargo chef cook --target=aarch64-unknown-linux-musl --release --recipe-path recipe.json
fails withSyntax error: "(" unexpected
I'm guessing this is related to something in
recipe.json
? However the x64 build works normally and both builds are using the samerecipe.json
file.Note: This is using cross compiling, all of the images are running on x64
For context here's my Dockerfile: