Skip to content

Commit 218c616

Browse files
committed
fix(docker): install buf in Dockerfile for proto generation
Add buf installation to fix docker build error. The Makefile now uses 'buf generate' so buf must be available in the build environment.
1 parent e4bdc08 commit 218c616

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ WORKDIR /go/src/github.com/whywaita/myshoes
44

55
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2
66
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
7+
RUN go install github.com/bufbuild/buf/cmd/buf@latest
78
RUN apt-get update -y \
89
&& apt-get install -y protobuf-compiler
910

0 commit comments

Comments
 (0)