Skip to content

Commit 3318032

Browse files
Update apple/servicetalk (#2033)
1 parent 090faf1 commit 3318032

5 files changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# syntax=docker/dockerfile:1.18
2+
FROM debian:bookworm-20250908 AS build
3+
4+
WORKDIR /app
5+
RUN apt-get update \
6+
&& apt-get install -y curl
7+
RUN curl -fsSL -o servicetalk-grpc-protoc.jar https://repo1.maven.org/maven2/io/servicetalk/servicetalk-grpc-protoc/0.42.60/servicetalk-grpc-protoc-0.42.60-all.jar
8+
9+
FROM gcr.io/distroless/java21-debian12:latest@sha256:418b2e2a9e452aa9299511427f2ae404dfc910ecfa78feb53b1c60c22c3b640c AS base
10+
11+
FROM scratch
12+
COPY --from=base --link / /
13+
COPY --from=build --link --chmod=0755 --chown=root:root /app/servicetalk-grpc-protoc.jar .
14+
USER nobody
15+
ENTRYPOINT [ "/usr/bin/java", "-jar", "/servicetalk-grpc-protoc.jar"]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: v1
2+
name: buf.build/apple/servicetalk
3+
plugin_version: v0.42.60
4+
source_url: https://github.com/apple/servicetalk
5+
integration_guide_url: https://docs.servicetalk.io/
6+
description: A networking framework that evolves with your application.
7+
deps:
8+
- plugin: buf.build/protocolbuffers/java:v32.1
9+
output_languages:
10+
- java
11+
spdx_license_id: Apache-2.0
12+
license_url: https://github.com/apple/servicetalk/blob/0.42.60/LICENSE.txt
13+
registry:
14+
maven:
15+
deps:
16+
- io.servicetalk:servicetalk-data-protobuf:0.42.60
17+
- io.servicetalk:servicetalk-grpc-api:0.42.60
18+
- io.servicetalk:servicetalk-grpc-protobuf:0.42.60
19+
# Add direct dependency on newer protobuf
20+
- com.google.protobuf:protobuf-java:4.32.1
21+
opts:
22+
- javaDocs=false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:QoKFl37ZuBqkGvB2c7Am3ehXKjQ7IMUqvSp8OGthb3c=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:q+PyR20m/W3Vgz+UYj8+3eCqpgbePTnXp3EdiFKdzBY=

0 commit comments

Comments
 (0)