@@ -8,8 +8,6 @@ ARG GO_IMAGE_VERSION=1.24.4-alpine3.22
88ARG GOOGLE_API_REV=8b80b1498e7016be58f6c09d0a86ddf0ea37feae
99# renovate: datasource=github-releases depName=grpc-gateway packageName=grpc-ecosystem/grpc-gateway
1010ARG GRPC_GATEWAY_VERSION=v2.27.3
11- # renovate: datasource=github-tags depName=grpc-rust packageName=stepancheg/grpc-rust
12- ARG GRPC_RUST_VERSION=v0.8.3
1311# renovate: datasource=github-releases depName=grpc-web packageName=grpc/grpc-web
1412ARG GRPC_WEB_VERSION=1.5.0
1513ARG NODE_IMAGE_VERSION=22.21.1-alpine3.22
@@ -45,7 +43,7 @@ ARG PROTOC_GEN_NANOPB_VERSION=0.4.9.1
4543# renovate: datasource=github-releases depName=protoc-gen-openapi packageName=solo-io/protoc-gen-openapi
4644ARG PROTOC_GEN_OPENAPI_VERSION=v0.3.1
4745ARG PROTOC_GEN_PBANDK_VERSION=0.16.0
48- # renovate: datasource=github-tags depName=grpc- rust packageName=stepancheg/rust-protobuf
46+ # renovate: datasource=github-tags depName=rust-protobuf packageName=stepancheg/rust-protobuf
4947ARG PROTOC_GEN_RUST_VERSION=v3.7.2
5048# renovate: datasource=github-releases depName=protoc-gen-scala packageName=scalapb/ScalaPB
5149ARG PROTOC_GEN_SCALA_VERSION=v0.11.17
@@ -309,21 +307,6 @@ RUN install -D /rust-protobuf/target/$(xx-cargo --print-target-triple)/release/p
309307RUN xx-verify /out/usr/bin/protoc-gen-rs
310308
311309
312- FROM --platform=$BUILDPLATFORM rust_target AS grpc_rust
313- RUN mkdir -p /grpc-rust
314- ARG GRPC_RUST_VERSION
315- RUN curl -sSL https://api.github.com/repos/stepancheg/grpc-rust/tarball/${GRPC_RUST_VERSION} | tar xz --strip 1 -C /grpc-rust
316- WORKDIR /grpc-rust/grpc-compiler
317- RUN --mount=type=cache,target=/root/.cargo/git/db \
318- --mount=type=cache,target=/root/.cargo/registry/cache \
319- --mount=type=cache,target=/root/.cargo/registry/index \
320- cargo fetch
321- ARG TARGETPLATFORM
322- RUN xx-cargo --config profile.release.strip=true build --release
323- RUN install -D /grpc-rust/target/$(xx-cargo --print-target-triple)/release/protoc-gen-rust-grpc /out/usr/bin/protoc-gen-rust-grpc
324- RUN xx-verify /out/usr/bin/protoc-gen-rust-grpc
325-
326-
327310FROM --platform=$BUILDPLATFORM swift:${SWIFT_IMAGE_VERSION} AS swift_target
328311RUN apt-get update && \
329312 apt-get install -y curl
@@ -558,8 +541,7 @@ RUN ln -s /usr/bin/grpc_cpp_plugin /usr/bin/protoc-gen-grpc-cpp && \
558541 ln -s /usr/bin/grpc_php_plugin /usr/bin/protoc-gen-grpc-php && \
559542 ln -s /usr/bin/grpc_python_plugin /usr/bin/protoc-gen-grpc-python && \
560543 ln -s /usr/bin/grpc_ruby_plugin /usr/bin/protoc-gen-grpc-ruby && \
561- ln -s /usr/bin/protoc-gen-go-grpc /usr/bin/protoc-gen-grpc-go && \
562- ln -s /usr/bin/protoc-gen-rust-grpc /usr/bin/protoc-gen-grpc-rust
544+ ln -s /usr/bin/protoc-gen-go-grpc /usr/bin/protoc-gen-grpc-go
563545COPY protoc-* /usr/bin
564546RUN protoc-test
565547ENTRYPOINT ["protoc-wrapper" , "-I/usr/include" ]
0 commit comments