-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
228 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230703 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.56.2 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_cpp_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_cpp_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_cpp_plugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/cpp | ||
plugin_version: v1.56.2 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates C++ client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/cpp:v23.4 | ||
output_languages: | ||
- cpp | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.56.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230703 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.56.2 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_csharp_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_csharp_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_csharp_plugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/csharp | ||
plugin_version: v1.56.2 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates C# client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/csharp:v23.4 | ||
output_languages: | ||
- csharp | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.56.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230703 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.56.2 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_objective_c_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_objective_c_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_objective_c_plugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/objc | ||
plugin_version: v1.56.2 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates Objective-C client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/objc:v23.4 | ||
output_languages: | ||
- objective_c | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.56.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230703 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.56.2 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_php_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_php_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_php_plugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/php | ||
plugin_version: v1.56.2 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates PHP client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/php:v23.4 | ||
output_languages: | ||
- php | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.56.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230703 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.56.2 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_python_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_python_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_python_plugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/python | ||
plugin_version: v1.56.2 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates Python client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/python:v23.4 | ||
output_languages: | ||
- python | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.56.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230703 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl git cmake build-essential autoconf clang libc++-dev libtool pkg-config g++ unzip zip | ||
RUN arch=${TARGETARCH}; \ | ||
if [ "${arch}" = "amd64" ]; then arch="x86_64"; fi; \ | ||
curl -fsSL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-${arch} \ | ||
&& chmod +x /usr/local/bin/bazel | ||
|
||
WORKDIR /build | ||
|
||
RUN git clone --depth 1 --branch v1.56.2 --recursive https://github.com/grpc/grpc | ||
WORKDIR /build/grpc | ||
RUN bazel build //src/compiler:grpc_plugin_support | ||
RUN bazel build //src/compiler:grpc_ruby_plugin.stripped | ||
|
||
FROM gcr.io/distroless/cc-debian11 | ||
COPY --from=build --link --chmod=0755 /build/grpc/bazel-bin/src/compiler/grpc_ruby_plugin . | ||
USER nobody | ||
ENTRYPOINT ["/grpc_ruby_plugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/grpc/ruby | ||
plugin_version: v1.56.2 | ||
source_url: https://github.com/grpc/grpc | ||
description: Generates Ruby client and server stubs for the gRPC framework. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/ruby:v23.4 | ||
output_languages: | ||
- ruby | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/grpc/grpc/blob/v1.56.2/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:+TEOhXAY3kEbot+Yi4zMrlVqpygzcZGd8rNsYRm1K/c= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:QNggIsJlvPRCdsT8EEOrIhD3r6tTDrD6KOna3Fue4JE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:BVCDqYwFBLMbpdwhUznEKZl71YGKzWxQjMCWHshAvzA= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/grpc/csharp/v1.56.2/petapis/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:DqIk9tDTR6qNlwrVsz667IxNJfMGL2dLcjanmrIkTvU= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:xH0+e+UVLoU5KFcWSB5RfrGIxbyztCgFOquLQjg2/ps= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:P+OQBrxyTpehogGY3ZUlcIQ2pRq1iA9xpxjKXSN7u2E= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:gCX+94Y87fKbGc7nBkZ5sqxwMypA12/rrOdVb9YaOkY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:0h6mmZ/IPFQQD8Mq95Adum4ekVPiiZy05xjy3uqhI48= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:GlLkV9ApTmV1JlX39sBp45T+GULZqM/K3CY3uP6m9uk= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/grpc/python/v1.56.2/petapis/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:ZFJ5d/x8COnHlnUl1vnVoCoVOR0MyRWgxZxWgPj+Qag= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:y47G0y23L+GoClu0Kfl4ZgiV++TIrlmPeBxw0sKANjA= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:jT5MBhIRa08sICxgjVvNAQgauC2GnD8G9OZ64P+N5gY= |