Skip to content

Commit

Permalink
Add connect-kotlin v0.1.2 and grpc-swift v1.14.1 (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Feb 28, 2023
1 parent f5e372b commit 0dd2033
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/bufbuild/connect-kotlin/v0.1.2/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
11 changes: 11 additions & 0 deletions plugins/bufbuild/connect-kotlin/v0.1.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM gradle:7.4.0-jdk17 AS build
WORKDIR /app
RUN git clone --depth 1 --branch v0.1.2 https://github.com/bufbuild/connect-kotlin.git
WORKDIR /app/connect-kotlin
RUN gradle --no-daemon -g $(pwd) protoc-gen-connect-kotlin:jar

FROM gcr.io/distroless/java17-debian11
WORKDIR /app
COPY --from=build /app/connect-kotlin/protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar /app
CMD ["/app/protoc-gen-connect-kotlin.jar"]
11 changes: 11 additions & 0 deletions plugins/bufbuild/connect-kotlin/v0.1.2/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: v1
name: buf.build/bufbuild/connect-kotlin
plugin_version: v0.1.2
source_url: https://github.com/bufbuild/connect-kotlin
description: Idiomatic gRPC & Connect RPCs for Kotlin.
deps:
- plugin: buf.build/protocolbuffers/java:v22.0
output_languages:
- kotlin
spdx_license_id: Apache-2.0
license_url: https://github.com/bufbuild/connect-kotlin/blob/v0.1.2/LICENSE
2 changes: 2 additions & 0 deletions plugins/grpc/swift/v1.14.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
12 changes: 12 additions & 0 deletions plugins/grpc/swift/v1.14.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1.4
FROM swift:5.7.3-focal AS build

WORKDIR /app
RUN git clone --depth 1 --branch 1.14.1 https://github.com/grpc/grpc-swift --recursive
WORKDIR /app/grpc-swift
RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s

FROM gcr.io/distroless/cc-debian11
COPY --from=build --link /app/grpc-swift/.build/release/protoc-gen-grpc-swift .
USER nobody
ENTRYPOINT [ "/protoc-gen-grpc-swift" ]
11 changes: 11 additions & 0 deletions plugins/grpc/swift/v1.14.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: v1
name: buf.build/grpc/swift
plugin_version: v1.14.1
source_url: https://github.com/grpc/grpc-swift
description: Generates Swift client and server stubs for the gRPC framework.
deps:
- plugin: buf.build/apple/swift:v1.21.0
output_languages:
- swift
spdx_license_id: Apache-2.0
license_url: https://github.com/grpc/grpc-swift/blob/1.14.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:9abar+F7ExOckqxcAsciO8PYSCGFyt2Dtxtwn98x4ik=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:alA/l4f9IIlzBnsY3F/+11p6V7xE2Wkb0MedSGs++dI=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:AyTBCyR7NTQf+n2zmThBq9/Nveb5Mx/QZnQ4ZvovhF4=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:nxLl9QVtjt+8+FrGOVBBSZnGQLT+GrD+NjxshOJh7xc=

0 comments on commit 0dd2033

Please sign in to comment.