File tree Expand file tree Collapse file tree 5 files changed +58
-0
lines changed
plugins/grpc/java/v1.69.1
tests/testdata/buf.build/grpc/java/v1.69.1 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.12
2+ FROM debian:bookworm-20250113 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.69.1/protoc-gen-grpc-java-1.69.1-linux-${arch}.exe
17+
18+ FROM gcr.io/distroless/cc-debian12:latest@sha256:b7550f0b15838de14c564337eef2b804ba593ae55d81ca855421bd52f19bb480 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.69.1
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:v29.3
9+ output_languages :
10+ - java
11+ spdx_license_id : Apache-2.0
12+ license_url : https://github.com/grpc/grpc-java/blob/v1.69.1/LICENSE
13+ registry :
14+ maven :
15+ deps :
16+ - io.grpc:grpc-core:1.69.1
17+ - io.grpc:grpc-protobuf:1.69.1
18+ - io.grpc:grpc-stub:1.69.1
19+ # Add direct dependency on newer protobuf as gRPC is still on 3.25.5
20+ - com.google.protobuf:protobuf-java:4.29.3
21+ additional_runtimes :
22+ - name : lite
23+ deps :
24+ - io.grpc:grpc-core:1.69.1
25+ - io.grpc:grpc-protobuf-lite:1.69.1
26+ - io.grpc:grpc-stub:1.69.1
27+ # Add direct dependency on newer protobuf as gRPC is still on 3.25.5
28+ - com.google.protobuf:protobuf-javalite:4.29.3
29+ - build.buf:protobuf-javalite:4.29.3
30+ opts : [lite]
Original file line number Diff line number Diff line change 1+ h1:96CVHWZd6zzNy1WqjFvtwqaYejK/WVEfY6XLBl4l908=
Original file line number Diff line number Diff line change 1+ h1:LLu5TOHjKO1SiYm5SFxK24mOkZTvD5KU+k8JIfMSr8U=
You can’t perform that action at this time.
0 commit comments