Working example for manual x86_64-unknown-linux-musl build with docker #826
Labels
meta: good first issue
Anything that is good for new contributors.
type: enhancement
A value-adding code change that enhances its existing functionality.
Milestone
I wanted to build vector for x86_64-unknown-linux-musl locally, using the builder image created using
scripts/ci-docker-images/builder-x86_64-unknown-linux-musl/Dockerfile
.I had to guess the invocation by reading
.circleci/config.yml
since I do not run circleci on my workstation, so this it what I came up with:docker run --rm -ti -v "$(readlink -f .):/tmp/build" --user 0 --env 'VERSION=0.3.0' --env RUST_LTO=lto --env 'TARGET=x86_64-unknown-linux-musl' --workdir /tmp/build builder-x86_64-unknown-linux-musl:latest make build-archive
That seems to have worked, the build succeeded.
setup/installation/manual/from-source
says this:I think it would be good to have the above documented or at least referenced at that place.
The text was updated successfully, but these errors were encountered: