chore: clean up buf generation for v54 (#24739)

This commit is contained in:
Alex | Interchain Labs
2025-05-13 18:26:13 +00:00
committed by GitHub
parent 7a9dc452a0
commit 2098dc46b2
7 changed files with 421 additions and 417 deletions
+4 -4
View File
@@ -2,8 +2,8 @@
# docker build --pull --rm -f "contrib/devtools/Dockerfile" -t cosmossdk-proto:latest "contrib/devtools"
# docker run --rm -v $(pwd):/workspace --workdir /workspace cosmossdk-proto sh ./scripts/protocgen.sh
FROM bufbuild/buf:1.50.0 AS builder
FROM golang:1.23-alpine
FROM bufbuild/buf:1.54.0 AS builder
FROM golang:1.24-alpine
RUN apk add --no-cache \
nodejs \
@@ -21,9 +21,9 @@ ARG UID=1000
RUN adduser -u $UID -s /bin/sh $UNAME -D
USER $UNAME
ENV GOLANG_PROTOBUF_VERSION=1.28.1 \
ENV GOLANG_PROTOBUF_VERSION=1.36.6 \
GRPC_GATEWAY_VERSION=1.16.0 \
GRPC_GATEWAY_PROTOC_GEN_OPENAPIV2_VERSION=2.20.0
GRPC_GATEWAY_PROTOC_GEN_OPENAPIV2_VERSION=2.26.3
RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest && \
go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION} && \