Skip to content

Commit

Permalink
Update knit-ts and rr-server-php-grpc plugins (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Jan 11, 2024
1 parent 88fe50f commit fca6fbe
Show file tree
Hide file tree
Showing 12 changed files with 158 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/bufbuild/knit-ts/v0.0.4/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!Dockerfile
!package*.json
11 changes: 11 additions & 0 deletions plugins/bufbuild/knit-ts/v0.0.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM node:20.11.0-alpine3.19 AS build
WORKDIR /app
COPY --link package*.json .
RUN npm ci
RUN sed -i -e 's|/usr/bin/env node|/nodejs/bin/node|g' /app/node_modules/@bufbuild/protoc-gen-knit-ts/bin/protoc-gen-knit-ts

FROM gcr.io/distroless/nodejs20-debian12:latest@sha256:7715474a901a28e3edcdf7730f14b33e30c26085989ce04b0de163fe8fab0f03
COPY --link --from=build /app /app
USER nobody
ENTRYPOINT [ "/app/node_modules/.bin/protoc-gen-knit-ts" ]
14 changes: 14 additions & 0 deletions plugins/bufbuild/knit-ts/v0.0.4/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: v1
name: buf.build/bufbuild/knit-ts
plugin_version: v0.0.4
source_url: https://github.com/bufbuild/knit-ts
integration_guide_url: https://github.com/bufbuild/knit-ts#quick-example
description: Generates Knit schemas needed to use the Knit client in web browsers and Node.js.
output_languages:
- typescript
registry:
npm:
import_style: module
rewrite_import_path_suffix: knit.js
spdx_license_id: Apache-2.0
license_url: https://github.com/bufbuild/knit-ts/blob/v0.0.4/LICENSE
93 changes: 93 additions & 0 deletions plugins/bufbuild/knit-ts/v0.0.4/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions plugins/bufbuild/knit-ts/v0.0.4/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "plugins-bufbuild-knit-ts",
"version": "0.0.4",
"dependencies": {
"@bufbuild/protoc-gen-knit-ts": "0.0.4"
}
}
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.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# syntax=docker/dockerfile:1.6
FROM golang:1.21.6-bookworm AS build
RUN git clone --depth=1 --branch v4.6.4 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.4
source_url: https://github.com/roadrunner-server/grpc
description: Generates code for the PHP RoadRunner application server.
deps:
- plugin: buf.build/protocolbuffers/php:v25.2
spdx_license_id: MIT
license_url: https://github.com/roadrunner-server/grpc/blob/v4.6.4/LICENSE
output_languages:
- php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:6pBzLDZjUFCm3r5GThqvRQ09UmLZs4Pfvk3iYUatdCU=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:fTYqH8k7jmY24SSK4rO70fWts3A0c8UcDXE+0Qx6K84=
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 fca6fbe

Please sign in to comment.