@@ -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
@@ -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
@@ -495,7 +478,6 @@ RUN curl -sSL https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-$
495478RUN install -D /upx/upx /usr/local/bin/upx
496479COPY --from=googleapis /out/ /out/
497480COPY --from=grpc_gateway /out/ /out/
498- COPY --from=grpc_rust /out/ /out/
499481COPY --from=grpc_web /out/ /out/
500482COPY --from=protoc_gen_bq_schema /out/ /out/
501483COPY --from=protoc_gen_doc /out/ /out/
@@ -558,8 +540,7 @@ RUN ln -s /usr/bin/grpc_cpp_plugin /usr/bin/protoc-gen-grpc-cpp && \
558540 ln -s /usr/bin/grpc_php_plugin /usr/bin/protoc-gen-grpc-php && \
559541 ln -s /usr/bin/grpc_python_plugin /usr/bin/protoc-gen-grpc-python && \
560542 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
543+ ln -s /usr/bin/protoc-gen-go-grpc /usr/bin/protoc-gen-grpc-go
563544COPY protoc-* /usr/bin
564545RUN protoc-test
565546ENTRYPOINT ["protoc-wrapper" , "-I/usr/include" ]
0 commit comments