From 25e39eda7dbfe2e3ad77d31bcf68946b0df3642b Mon Sep 17 00:00:00 2001 From: whywaita Date: Fri, 7 Jun 2024 11:49:59 +0900 Subject: [PATCH] Pin protoc version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a58aad..247061e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM golang:1.21 AS builder WORKDIR /go/src/github.com/whywaita/myshoes -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 google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1 +RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0 RUN apt-get update -y \ && apt-get install -y protobuf-compiler