diff --git a/plugins/community/roadrunner-server-php-grpc/v4.5.6/.dockerignore b/plugins/community/roadrunner-server-php-grpc/v4.5.6/.dockerignore new file mode 100644 index 000000000..5d0f124ff --- /dev/null +++ b/plugins/community/roadrunner-server-php-grpc/v4.5.6/.dockerignore @@ -0,0 +1,2 @@ +* +!Dockerfile diff --git a/plugins/community/roadrunner-server-php-grpc/v4.5.6/Dockerfile b/plugins/community/roadrunner-server-php-grpc/v4.5.6/Dockerfile new file mode 100644 index 000000000..6129d2e8e --- /dev/null +++ b/plugins/community/roadrunner-server-php-grpc/v4.5.6/Dockerfile @@ -0,0 +1,13 @@ +# syntax=docker/dockerfile:1.6 +FROM golang:1.21.3-bullseye AS build +RUN git clone --depth=1 --branch v4.5.6 https://github.com/roadrunner-server/grpc.git +RUN --mount=type=cache,target=/go/pkg/mod \ + cd grpc/protoc_plugins/protoc-gen-php-grpc && \ + CGO_ENABLED=0 \ + go install -ldflags="-s -w" -trimpath + +FROM scratch +COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd +COPY --from=build --link --chown=root:root /go/bin/protoc-gen-php-grpc / +USER nobody +ENTRYPOINT [ "/protoc-gen-php-grpc" ] diff --git a/plugins/community/roadrunner-server-php-grpc/v4.5.6/buf.plugin.yaml b/plugins/community/roadrunner-server-php-grpc/v4.5.6/buf.plugin.yaml new file mode 100644 index 000000000..3a92973d1 --- /dev/null +++ b/plugins/community/roadrunner-server-php-grpc/v4.5.6/buf.plugin.yaml @@ -0,0 +1,11 @@ +version: v1 +name: buf.build/community/roadrunner-server-php-grpc +plugin_version: v4.5.6 +source_url: https://github.com/roadrunner-server/grpc +description: Generates code for the PHP RoadRunner application server. +deps: + - plugin: buf.build/protocolbuffers/php:v24.4 +spdx_license_id: MIT +license_url: https://github.com/roadrunner-server/grpc/blob/v4.5.6/LICENSE +output_languages: + - php diff --git a/tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.6/eliza/plugin.sum b/tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.6/eliza/plugin.sum new file mode 100644 index 000000000..7d13d99b0 --- /dev/null +++ b/tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.6/eliza/plugin.sum @@ -0,0 +1 @@ +h1:jT7gKL/t3iAPRsfXcC8b24F5IdSxtcuyuhD8yvmGRiA= diff --git a/tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.6/petapis/plugin.sum b/tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.6/petapis/plugin.sum new file mode 100644 index 000000000..fd44421ca --- /dev/null +++ b/tests/testdata/buf.build/community/roadrunner-server-php-grpc/v4.5.6/petapis/plugin.sum @@ -0,0 +1 @@ +h1:7bA/GKq0K0btx4JnO+NSpYBkPfz0oSLjz+Ddv/NYe/A=