Skip to content

Commit

Permalink
Merge pull request #5 from razorpay/shettyh-patch-1
Browse files Browse the repository at this point in the history
fix(dockerfile): `go get` is not supported in latest version
  • Loading branch information
sujanadiga authored Mar 17, 2022
2 parents 66821d9 + 07627d7 commit 99033c9
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 @@ -2,10 +2,11 @@ FROM public.ecr.aws/bitnami/golang

RUN apt update; apt install -y make git curl bash jq awscli

RUN go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.5.0 google.golang.org/protobuf/cmd/protoc-gen-go@v1.26.0
RUN go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.5.0
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26.0

RUN curl -sSL \
"https://github.com/bufbuild/buf/releases/download/v0.43.2/buf-Linux-x86_64" \
"https://github.com/bufbuild/buf/releases/download/v1.1.0/buf-Linux-x86_64" \
-o "$(go env GOPATH)/bin/buf" && \
chmod +x "$(go env GOPATH)/bin/buf"

Expand Down

0 comments on commit 99033c9

Please sign in to comment.