Protobuf known types

I have recently introduced in our protobuf code the usage of google.protobuf.Empty message, and I am building it in a docker container (golang:1.14). However, when trying to compile the proto files I get:

google/protobuf/empty.proto: File not found.
validation.proto: Import “google/protobuf/empty.proto” was not found or had errors.

Any ideas how to get the known protobuf proto files?

Ok, I just had to add debian package libprotobuf-dev to apt-get directive.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.