clux / muslrust

Docker environment for building musl based static linux rust binaries
MIT License
965 stars 88 forks source link

feature request: add protoc into the image #105

Closed Sherlock-Holo closed 2 years ago

Sherlock-Holo commented 2 years ago

tonic-build require the protoc cli tool to generate codes, this image doesn't contain this tool

clux commented 2 years ago

I think that's reasonable request as it's a very common dependency.

Will put this as help-wanted for now. Will need compile instructions from src in the Dockerfile and ideally a quick test crate.

Sherlock-Holo commented 2 years ago

I create a PR to add protoc https://github.com/clux/muslrust/pull/106 @clux

Zizico2 commented 2 years ago

Is Tonic still working? I seem to need protobuf-dev. I'm getting: google/protobuf/any.proto: File not found