Skip to content

Commit

Permalink
Update docker build step for grpc-connect-go
Browse files Browse the repository at this point in the history
  • Loading branch information
nandesh-dev committed Oct 25, 2024
1 parent 9a24a48 commit e12c0c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ COPY . .
ENV GOPATH=$HOME/go
ENV PATH=$PATH:$GOPATH/bin

RUN go install github.com/bufbuild/buf/cmd/buf@latest
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
RUN go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest

RUN make proto
RUN buf generate

RUN CGO_ENABLED=1 GOOS=linux \
go build -a -tags netgo -ldflags '-extldflags "-static -L/usr/local/lib -ltesseract -lleptonica -lpng -lz"' ./cmd/subtle
Expand Down

0 comments on commit e12c0c3

Please sign in to comment.