From dcd3ed98881e86a46900b85e906b0143a9c70d53 Mon Sep 17 00:00:00 2001 From: Mark Sanders Date: Thu, 30 Nov 2023 20:15:43 +0000 Subject: [PATCH] fix(makefile): enable docker generate with protoc installed image Signed-off-by: Mark Sanders --- network/opinetcommon/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/opinetcommon/Makefile b/network/opinetcommon/Makefile index f200184f..e1f70717 100644 --- a/network/opinetcommon/Makefile +++ b/network/opinetcommon/Makefile @@ -9,9 +9,9 @@ buflint: docker run --rm -v "${PWD}/../../common/v1":/common -v "${PWD}":/out -w /out bufbuild/buf lint bufgen: - buf generate --template ../../buf.gen.yaml -o v1alpha1 +# buf generate --template ../../buf.gen.yaml -o v1alpha1 # buf generate does not work in docker since it relies on locally installed protoc to compile the proto files -# docker run --rm -v "${PWD}/../../common/v1":/common -v "${PWD}/../..":/base -v "${PWD}":/out -w /out bufbuild/buf generate --template /base/buf.gen.yaml -o v1alpha1 + docker run --rm -v "${PWD}/../../common/v1":/common -v "${PWD}/../..":/base -v "${PWD}":/out -w /out msandersdell/bufbuild-go-gen:1.1.0 generate --template /base/buf.gen.yaml -o v1alpha1 doc: rm -rf ./google