File tree Expand file tree Collapse file tree 5 files changed +58
-0
lines changed
plugins/grpc/java/v1.76.0
tests/testdata/buf.build/grpc/java/v1.76.0 Expand file tree Collapse file tree 5 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ *
2+ ! Dockerfile
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.18
2+ FROM debian:bookworm-20250929 AS build
3+
4+ ARG TARGETARCH
5+
6+ WORKDIR /build
7+ RUN apt-get update \
8+ && apt-get install -y curl
9+ RUN arch=${TARGETARCH}; \
10+ if [ "${arch}" = "arm64" ]; then\
11+ arch="aarch_64" ; \
12+ elif [ "${arch}" = "amd64" ]; then\
13+ arch="x86_64" ; \
14+ fi; \
15+ echo "${arch}" ; \
16+ curl -fsSL -o protoc-gen-grpc-java https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.76.0/protoc-gen-grpc-java-1.76.0-linux-${arch}.exe
17+
18+ FROM gcr.io/distroless/cc-debian12:latest@sha256:14f6999db515330e5d00537bd457289a8968b6456e9197c7a28101ee63a7522f AS base
19+
20+ FROM scratch
21+ COPY --link --from=base / /
22+ COPY --link --from=build --chmod=0755 --chown=root:root /build/protoc-gen-grpc-java .
23+ USER nobody
24+ ENTRYPOINT [ "/protoc-gen-grpc-java" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/grpc/java
3+ plugin_version : v1.76.0
4+ source_url : https://github.com/grpc/grpc-java
5+ integration_guide_url : https://grpc.io/docs/languages/java/quickstart
6+ description : Generates Java client and server stubs for the gRPC framework.
7+ deps :
8+ - plugin : buf.build/protocolbuffers/java:v32.1
9+ output_languages :
10+ - java
11+ spdx_license_id : Apache-2.0
12+ license_url : https://github.com/grpc/grpc-java/blob/v1.76.0/LICENSE
13+ registry :
14+ maven :
15+ deps :
16+ - io.grpc:grpc-core:1.76.0
17+ - io.grpc:grpc-protobuf:1.76.0
18+ - io.grpc:grpc-stub:1.76.0
19+ # Add direct dependency on newer protobuf as gRPC is still on 3.25.8
20+ - com.google.protobuf:protobuf-java:4.32.1
21+ additional_runtimes :
22+ - name : lite
23+ deps :
24+ - io.grpc:grpc-core:1.76.0
25+ - io.grpc:grpc-protobuf-lite:1.76.0
26+ - io.grpc:grpc-stub:1.76.0
27+ # Add direct dependency on newer protobuf as gRPC is still on 3.25.8
28+ - com.google.protobuf:protobuf-javalite:4.32.1
29+ - build.buf:protobuf-javalite:4.32.1
30+ opts : [lite]
Original file line number Diff line number Diff line change 1+ h1:abVqnZfKuwUcrLQyb+Lu2QqyVxyEnfIosZqrc8Lv/f0=
Original file line number Diff line number Diff line change 1+ h1:LtrVq0lTE5qfsjeZj2BqKoPibzJpnzDsSY/jO/SrmoY=
You can’t perform that action at this time.
0 commit comments