Skip to content

Commit

Permalink
Migrate to use uber gomock (#5426)
Browse files Browse the repository at this point in the history
Signed-off-by: khanhtc1202 <[email protected]>
  • Loading branch information
khanhtc1202 authored Dec 17, 2024
1 parent 7fc6bcc commit 511ee8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/codegen/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV PROTOC_GEN_GO_VER=1.27.1
ENV PROTOC_GEN_GRPC_WEB_VER=1.3.1
ENV PROTOC_GEN_GO_GRPC_VER=1.2.0
ENV PROTOC_GEN_VALIDATE_VER=0.6.6
ENV GOMOCK_VER=1.6.0
ENV GOMOCK_VER=0.5.0

# dependecies and protoc
RUN apt update && apt install -y protobuf-compiler
Expand Down Expand Up @@ -56,7 +56,7 @@ RUN for target in x86_64 aarch_64; do \
COPY --from=builder /usr/local/bin/protoc-gen-auth /usr/local/bin/

# gomock
RUN go install github.com/golang/mock/mockgen@v${GOMOCK_VER}
RUN go install go.uber.org/mock/mockgen@v${GOMOCK_VER}

VOLUME /repo
WORKDIR /repo

0 comments on commit 511ee8f

Please sign in to comment.