diff --git a/plugins/apple/servicetalk/v0.42.64/.dockerignore b/plugins/apple/servicetalk/v0.42.64/.dockerignore new file mode 100644 index 000000000..7ff6309df --- /dev/null +++ b/plugins/apple/servicetalk/v0.42.64/.dockerignore @@ -0,0 +1,3 @@ +* +!Dockerfile +!pom.xml diff --git a/plugins/apple/servicetalk/v0.42.64/Dockerfile b/plugins/apple/servicetalk/v0.42.64/Dockerfile new file mode 100644 index 000000000..60a8c185b --- /dev/null +++ b/plugins/apple/servicetalk/v0.42.64/Dockerfile @@ -0,0 +1,20 @@ +# syntax=docker/dockerfile:1.23 +FROM debian:trixie-20260505@sha256:e2d08da6f42ef4b09b165d55528a12727aeed8240dc9edf888e3ec07e10ef9da AS build + +WORKDIR /app +RUN apt-get update \ + && apt-get install -y curl +RUN curl -fsSL -o servicetalk-grpc-protoc.jar https://repo1.maven.org/maven2/io/servicetalk/servicetalk-grpc-protoc/0.42.64/servicetalk-grpc-protoc-0.42.64-all.jar + +FROM gcr.io/distroless/java25-debian13:latest@sha256:3e0a1496b365a18d2c01ccfe27c8bc93b1a6b8ca7460c02b8badb791bf296fce AS base + +FROM maven:3.9.11-eclipse-temurin-21 AS maven-deps +COPY pom.xml /tmp/pom.xml +RUN cd /tmp && mvn -f pom.xml dependency:go-offline + +FROM scratch +COPY --from=base --link / / +COPY --from=build --link --chmod=0755 --chown=root:root /app/servicetalk-grpc-protoc.jar . +COPY --from=maven-deps /root/.m2/repository /maven-repository +USER nobody +ENTRYPOINT [ "/usr/bin/java", "-jar", "/servicetalk-grpc-protoc.jar"] diff --git a/plugins/apple/servicetalk/v0.42.64/buf.plugin.yaml b/plugins/apple/servicetalk/v0.42.64/buf.plugin.yaml new file mode 100644 index 000000000..62e3f7d53 --- /dev/null +++ b/plugins/apple/servicetalk/v0.42.64/buf.plugin.yaml @@ -0,0 +1,22 @@ +version: v1 +name: buf.build/apple/servicetalk +plugin_version: v0.42.64 +source_url: https://github.com/apple/servicetalk +integration_guide_url: https://docs.servicetalk.io/ +description: A networking framework that evolves with your application. +deps: + - plugin: buf.build/protocolbuffers/java:v34.1 +output_languages: + - java +spdx_license_id: Apache-2.0 +license_url: https://github.com/apple/servicetalk/blob/0.42.64/LICENSE.txt +registry: + maven: + deps: + - io.servicetalk:servicetalk-data-protobuf:0.42.64 + - io.servicetalk:servicetalk-grpc-api:0.42.64 + - io.servicetalk:servicetalk-grpc-protobuf:0.42.64 + # Add direct dependency on newer protobuf + - com.google.protobuf:protobuf-java:4.34.1 + opts: + - javaDocs=false diff --git a/plugins/apple/servicetalk/v0.42.64/pom.xml b/plugins/apple/servicetalk/v0.42.64/pom.xml new file mode 100644 index 000000000..a511d46e0 --- /dev/null +++ b/plugins/apple/servicetalk/v0.42.64/pom.xml @@ -0,0 +1,39 @@ + + 4.0.0 + temp + temp + 1.0 + + + io.servicetalk + servicetalk-data-protobuf + 0.42.64 + + + io.servicetalk + servicetalk-grpc-api + 0.42.64 + + + io.servicetalk + servicetalk-grpc-protobuf + 0.42.64 + + + com.google.protobuf + protobuf-java + 4.34.1 + + + + com.google.protobuf + protobuf-javalite + 4.34.1 + + + build.buf + protobuf-javalite + 4.34.1 + + + diff --git a/tests/testdata/buf.build/apple/servicetalk/v0.42.64/eliza/plugin.sum b/tests/testdata/buf.build/apple/servicetalk/v0.42.64/eliza/plugin.sum new file mode 100644 index 000000000..52c463bfe --- /dev/null +++ b/tests/testdata/buf.build/apple/servicetalk/v0.42.64/eliza/plugin.sum @@ -0,0 +1 @@ +h1:QoKFl37ZuBqkGvB2c7Am3ehXKjQ7IMUqvSp8OGthb3c= diff --git a/tests/testdata/buf.build/apple/servicetalk/v0.42.64/petapis/plugin.sum b/tests/testdata/buf.build/apple/servicetalk/v0.42.64/petapis/plugin.sum new file mode 100644 index 000000000..c5c7c7f18 --- /dev/null +++ b/tests/testdata/buf.build/apple/servicetalk/v0.42.64/petapis/plugin.sum @@ -0,0 +1 @@ +h1:q+PyR20m/W3Vgz+UYj8+3eCqpgbePTnXp3EdiFKdzBY=