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
2 changes: 2 additions & 0 deletions plugins/connectrpc/kotlin/v0.7.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
15 changes: 15 additions & 0 deletions plugins/connectrpc/kotlin/v0.7.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.10
FROM debian:bookworm-20241016 AS build

RUN apt-get update \
&& apt-get install -y curl
WORKDIR /app
RUN curl -fsSL -o /app/protoc-gen-connect-kotlin.jar https://repo1.maven.org/maven2/com/connectrpc/protoc-gen-connect-kotlin/0.7.1/protoc-gen-connect-kotlin-0.7.1.jar

FROM gcr.io/distroless/java17-debian12:latest@sha256:26054428ef0fa1b71d28018e35823060c9e89d4b2f120d8efe1964669f44fccc as base

FROM scratch
COPY --from=base --link / /
COPY --from=build --link --chmod=0755 --chown=root:root /app/protoc-gen-connect-kotlin.jar .
USER nobody
ENTRYPOINT [ "/usr/bin/java", "-jar", "/protoc-gen-connect-kotlin.jar"]
29 changes: 29 additions & 0 deletions plugins/connectrpc/kotlin/v0.7.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: v1
name: buf.build/connectrpc/kotlin
plugin_version: v0.7.1
source_url: https://github.com/connectrpc/connect-kotlin
integration_guide_url: https://connectrpc.com/docs/kotlin/getting-started
description: Idiomatic gRPC & Connect RPCs for Kotlin.
deps:
- plugin: buf.build/protocolbuffers/kotlin:v28.3
output_languages:
- kotlin
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-kotlin/blob/v0.7.1/LICENSE
registry:
opts:
- generateCallbackMethods=true
maven:
compiler:
kotlin:
version: 1.8.22
deps:
- com.connectrpc:connect-kotlin:0.7.1
- com.connectrpc:connect-kotlin-google-java-ext:0.7.1
- com.connectrpc:connect-kotlin-okhttp:0.7.1
additional_runtimes:
- name: lite
deps:
- com.connectrpc:connect-kotlin:0.7.1
- com.connectrpc:connect-kotlin-google-javalite-ext:0.7.1
- com.connectrpc:connect-kotlin-okhttp:0.7.1
2 changes: 2 additions & 0 deletions plugins/grpc/swift/v1.24.2/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
17 changes: 17 additions & 0 deletions plugins/grpc/swift/v1.24.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1.10
FROM swift:5.10.1-bookworm AS build

RUN apt-get update \
&& apt-get install -y libstdc++-12-dev
WORKDIR /app
RUN git clone --depth 1 --branch 1.24.2 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-debian12:latest@sha256:6f05aba4de16e89f8d879bf2a1364de3e41aba04f1dcbba8c75494f6134b4b13 AS base

FROM scratch
COPY --link --from=base / /
COPY --link --from=build /app/grpc-swift/.build/release/protoc-gen-grpc-swift .
USER nobody
ENTRYPOINT [ "/protoc-gen-grpc-swift" ]
22 changes: 22 additions & 0 deletions plugins/grpc/swift/v1.24.2/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: v1
name: buf.build/grpc/swift
plugin_version: v1.24.2
source_url: https://github.com/grpc/grpc-swift
integration_guide_url: https://github.com/grpc/grpc-swift#getting-grpc-swift
description: Generates Swift client and server stubs for the gRPC framework.
deps:
- plugin: buf.build/apple/swift:v1.28.2
output_languages:
- swift
registry:
swift:
deps:
- source: https://github.com/grpc/grpc-swift.git
package: grpc-swift
products: [ GRPC ]
version: 1.24.2
opts:
- Visibility=Public
- FileNaming=PathToUnderscores
spdx_license_id: Apache-2.0
license_url: https://github.com/grpc/grpc-swift/blob/1.24.2/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:jZozX+zN6UUwiUu38R4IG3BD2PFi7novwzYovV5V5mY=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:qI/BZM1TvMxo1xA+W5Y+h5jGfuIHe2aFsVRriNpB/3M=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:klAEUf7WFX/+TSOOUy7F75AMxFT6Xb3LNOx6aL9DYn0=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:tVvtyf7StUea61DCqt0D6mKsji3dVZxna8snGt78kEA=