Skip to content

Commit

Permalink
Add roadrunner-server php-grpc plugin (#656)
Browse files Browse the repository at this point in the history
Fixes #655.
  • Loading branch information
pkwarren committed Jul 12, 2023
1 parent cf039e2 commit 73c9901
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/community/roadrunner-server-php-grpc/source.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source:
github:
owner: roadrunner-server
repository: grpc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
11 changes: 11 additions & 0 deletions plugins/community/roadrunner-server-php-grpc/v4.3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM golang:1.20.6-bullseye AS build
RUN --mount=type=cache,target=/go/pkg/mod \
CGO_ENABLED=0 \
go install -ldflags="-s -w" -trimpath github.com/roadrunner-server/grpc/protoc_plugins/v4/[email protected]

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" ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: v1
name: buf.build/community/roadrunner-server-php-grpc
plugin_version: v4.3.0
source_url: https://github.com/roadrunner-server/grpc
description: Generates code for the PHP RoadRunner application server.
deps:
- plugin: buf.build/protocolbuffers/php:v23.4
spdx_license_id: MIT
license_url: https://github.com/roadrunner-server/grpc/blob/v4.3.0/LICENSE
output_languages:
- php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:jT7gKL/t3iAPRsfXcC8b24F5IdSxtcuyuhD8yvmGRiA=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:7bA/GKq0K0btx4JnO+NSpYBkPfz0oSLjz+Ddv/NYe/A=

0 comments on commit 73c9901

Please sign in to comment.