#!/bin/bash -e if [ $# != 1 ];then echo "usage:$0 proto_dir" exit 1 fi echo "generate protoc" docker run --rm -v $(pwd):/rpcserver harbor.linkfog.cn/basegroup/grpc:1.0 bash /rpcserver/build/build.sh $1 echo "generate protoc finished"