Skip to content

Commit

Permalink
Update grpc/kotlin to v1.4.1 (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Nov 17, 2023
1 parent 141942f commit a4d6986
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/grpc/kotlin/v1.4.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
14 changes: 14 additions & 0 deletions plugins/grpc/kotlin/v1.4.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# syntax=docker/dockerfile:1.4
FROM debian:bullseye-20231030 AS build

ARG TARGETARCH

WORKDIR /build
RUN apt-get update \
&& apt-get install -y curl
RUN curl -fsSL -o protoc-gen-grpc-kotlin.jar https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-kotlin/1.4.1/protoc-gen-grpc-kotlin-1.4.1-jdk8.jar

FROM gcr.io/distroless/java11-debian11
COPY --from=build --link --chmod=0644 --chown=root:root /build/protoc-gen-grpc-kotlin.jar .
USER nobody
ENTRYPOINT [ "/usr/bin/java", "-jar", "/protoc-gen-grpc-kotlin.jar" ]
24 changes: 24 additions & 0 deletions plugins/grpc/kotlin/v1.4.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: v1
name: buf.build/grpc/kotlin
plugin_version: v1.4.1
source_url: https://github.com/grpc/grpc-kotlin
integration_guide_url: https://grpc.io/docs/languages/kotlin/quickstart
description: Generates Kotlin client and server stubs for the gRPC framework.
deps:
- plugin: buf.build/grpc/java:v1.59.0
- plugin: buf.build/protocolbuffers/kotlin:v24.4
output_languages:
- kotlin
spdx_license_id: Apache-2.0
license_url: https://github.com/grpc/grpc-kotlin/blob/v1.4.1/LICENSE
registry:
maven:
compiler:
kotlin:
version: 1.8.22
deps:
- io.grpc:grpc-kotlin-stub:1.4.1
- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3
additional_runtimes:
- name: lite
opts: [lite]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:eGkdYnWmOE6Hw+ctlTJR9Ual4tgbdXC0sx26StBg5GY=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:BLbOuNRdRzQfNjfUsjpcuq1IeExdjug5p3FlndTUbW0=

0 comments on commit a4d6986

Please sign in to comment.