Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
17 changes: 17 additions & 0 deletions plugins/community/roadrunner-server-php-grpc/v5.3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1.22
FROM --platform=$BUILDPLATFORM golang:1.26.1-trixie@sha256:ce3f1c8d3718a306811d8d5e547073b466b15e85bfa7e1b4f0dc45516c95b72d AS build

ARG TARGETOS TARGETARCH
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH

RUN git clone --depth=1 --branch v5.3.0 https://github.com/roadrunner-server/grpc.git
RUN --mount=type=cache,target=/go/pkg/mod \
cd grpc/protoc_plugins/protoc-gen-php-grpc \
&& go install -ldflags="-s -w" -trimpath \
&& mv /go/bin/${GOOS}_${GOARCH}/protoc-gen-php-grpc /go/bin/protoc-gen-php-grpc || true

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: v5.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:v34.1
spdx_license_id: MIT
license_url: https://github.com/roadrunner-server/grpc/blob/v5.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=
Loading