rust-lang / docker-rust

The official Docker images for Rust
430 stars 89 forks source link

The protobuf-compiler is no the latest version? #135

Closed GiKyouGetsu closed 1 year ago

GiKyouGetsu commented 1 year ago

It is not supported the --experimental_allow_proto3_optional parameter, While I build my rust application in the docker container with rust:1.67-buster image after I install the protobuf-compiler package.... Can we add the latest protobuf-compiler to this image ??

repnop commented 1 year ago

That's a Debian limitation, you need to upgrade to the bookworm image to have access to an updated version of the package which supports that feature, if you want to keep using a Debian based image. buster has version 3.6 of the protobuf-compiler package and the feature was made stable in 3.15, which means its also not available in bullseye either.