File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ *
2+ ! Dockerfile
Original file line number Diff line number Diff line change 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" ]
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ h1:jT7gKL/t3iAPRsfXcC8b24F5IdSxtcuyuhD8yvmGRiA=
Original file line number Diff line number Diff line change 1+ h1:7bA/GKq0K0btx4JnO+NSpYBkPfz0oSLjz+Ddv/NYe/A=
You can’t perform that action at this time.
0 commit comments