Skip to content

Commit

Permalink
Update roadrunner-server plugin (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Dec 1, 2023
1 parent 79491bd commit eda6bd6
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
13 changes: 13 additions & 0 deletions plugins/community/roadrunner-server-php-grpc/v4.6.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# syntax=docker/dockerfile:1.6
FROM golang:1.21.4-bookworm AS build
RUN git clone --depth=1 --branch v4.6.1 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" ]
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.6.1
source_url: https://github.com/roadrunner-server/grpc
description: Generates code for the PHP RoadRunner application server.
deps:
- plugin: buf.build/protocolbuffers/php:v25.1
spdx_license_id: MIT
license_url: https://github.com/roadrunner-server/grpc/blob/v4.6.1/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 eda6bd6

Please sign in to comment.