mirror of https://github.com/certusone/wasmd.git
* Docker container based Protobuf generation and linting * Add protobuf comments * Update contrib/prototools-docker/Dockerfile Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update contrib/prototools-docker/Dockerfile Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/wasm/internal/types/msg.proto Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/wasm/internal/types/types.proto Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> |
||
---|---|---|
.. | ||
Dockerfile | ||
README.md |
README.md
Prototool Docker Helper
Docker container for all the protobuf generation...
Based on the work by @pseudomuto prototool-docker project:
Installs generators and tools from:
- https://github.com/bufbuild/buf
- https://github.com/grpc-ecosystem
- https://github.com/regen-network/cosmos-proto
- https://github.com/pseudomuto/protoc-gen-doc
Build
docker build -t cosmwasm/prototools-docker -f ./contrib/prototools-docker/Dockerfile .
docker run -it -v $(go list -f "{{ .Dir }}" -m github.com/cosmos/cosmos-sdk):/workspace/cosmos_sdk_dir -v $(pwd):/workspace --workdir /workspace --env COSMOS_SDK_DIR=/cosmos_sdk_dir cosmwasm/prototool-docker sh