diff --git a/docker/builder/scripts/protoc_gen.sh b/docker/builder/scripts/protoc_gen.sh index 813674d..01138ed 100755 --- a/docker/builder/scripts/protoc_gen.sh +++ b/docker/builder/scripts/protoc_gen.sh @@ -1,2 +1,2 @@ #!/bin/sh -find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); PATH=$PATH:/go/bin protoc --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}' \ No newline at end of file +find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); protoc --proto_path=$GOPATH/bin:. -I/code --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}' \ No newline at end of file