Skip to content

Commit 57c92ce

Browse files
Update roadrunner-server-php-grpc (#2372)
### roadrunner-server-php-grpc - v5.2.3 → v5.3.0
1 parent 5b88a50 commit 57c92ce

5 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# syntax=docker/dockerfile:1.22
2+
FROM --platform=$BUILDPLATFORM golang:1.26.1-trixie@sha256:ce3f1c8d3718a306811d8d5e547073b466b15e85bfa7e1b4f0dc45516c95b72d AS build
3+
4+
ARG TARGETOS TARGETARCH
5+
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH
6+
7+
RUN git clone --depth=1 --branch v5.3.0 https://github.com/roadrunner-server/grpc.git
8+
RUN --mount=type=cache,target=/go/pkg/mod \
9+
cd grpc/protoc_plugins/protoc-gen-php-grpc \
10+
&& go install -ldflags="-s -w" -trimpath \
11+
&& mv /go/bin/${GOOS}_${GOARCH}/protoc-gen-php-grpc /go/bin/protoc-gen-php-grpc || true
12+
13+
FROM scratch
14+
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
15+
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-php-grpc /
16+
USER nobody
17+
ENTRYPOINT [ "/protoc-gen-php-grpc" ]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: v1
2+
name: buf.build/community/roadrunner-server-php-grpc
3+
plugin_version: v5.3.0
4+
source_url: https://github.com/roadrunner-server/grpc
5+
description: Generates code for the PHP RoadRunner application server.
6+
deps:
7+
- plugin: buf.build/protocolbuffers/php:v34.1
8+
spdx_license_id: MIT
9+
license_url: https://github.com/roadrunner-server/grpc/blob/v5.3.0/LICENSE
10+
output_languages:
11+
- php
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:jT7gKL/t3iAPRsfXcC8b24F5IdSxtcuyuhD8yvmGRiA=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:7bA/GKq0K0btx4JnO+NSpYBkPfz0oSLjz+Ddv/NYe/A=

0 commit comments

Comments
 (0)