/docker-protoc-dart

Docker image containing required tools to generate protobuf/gRPC code for Dart language.

Primary LanguageDockerfileMIT LicenseMIT

docker-protoc-dart

Docker image containing the Dart language protobuf/gRPC tools.

DEPRECATION WARNING

Deprecated in favor of https://github.com/robojones/protoc-dart/

Well Known Types

The Google protobuf well-known types can be found at /usr/local/include. This path is also stored in the PROTO_DIR environment variable.

Dart

Dart image contains the Dart runtime, the protoc compiler, and the Dart protoc plugin.

protoc --dart_out="foo/out" "proto/Bar.proto" # generate without gRPC
protoc --dart_out=grpc:"foo/out" "proto/Bar.proto" # generate with gRPC