-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
141942f
commit a4d6986
Showing
5 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:eGkdYnWmOE6Hw+ctlTJR9Ual4tgbdXC0sx26StBg5GY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:BLbOuNRdRzQfNjfUsjpcuq1IeExdjug5p3FlndTUbW0= |