Skip to content

Commit 739a1ee

Browse files
detected new plugin versions
1 parent c04c5cf commit 739a1ee

5 files changed

Lines changed: 36 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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# syntax=docker/dockerfile:1.27
2+
FROM debian:trixie-20260918@sha256:9cc080028c43b27d2074d63a5f9caf7166d731494965616c1a6d2827a004585c AS build
3+
4+
ARG TARGETARCH
5+
6+
RUN apt-get update \
7+
&& apt-get install -y curl
8+
9+
#This script embeds the the .class files and is a self contained jvm protoc plugin. See https://scalapb.github.io/docs/scalapbc/#using-scalapb-as-a-proper-protoc-plugin for more details
10+
RUN curl -fsSL -o protoc-gen-scala.jar https://repo1.maven.org/maven2/com/thesamet/scalapb/protoc-gen-scala/0.11.21/protoc-gen-scala-0.11.21-unix.sh
11+
12+
FROM eclipse-temurin:25-jdk@sha256:8c0a84ea11c8f6ed52600fc19f1040121f2a162998e9f50a5faebbbad9172dcc AS jre
13+
RUN jlink --add-modules java.base,java.compiler,java.instrument,java.logging,java.management,jdk.unsupported \
14+
--strip-debug --no-man-pages --no-header-files --output /jre
15+
16+
FROM gcr.io/distroless/cc-debian13:latest@sha256:159783207c2cd44c2aa5715961d13c8612368ac9bd450f887e3f08fc8ea461e3 AS base
17+
18+
FROM scratch
19+
COPY --link --from=base / /
20+
COPY --from=jre --link /jre /jre
21+
COPY --link --from=build /protoc-gen-scala.jar .
22+
USER nobody
23+
ENTRYPOINT ["/jre/bin/java", "-jar", "/protoc-gen-scala.jar"]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: v1
2+
name: buf.build/community/scalapb-scala
3+
plugin_version: v0.11.21
4+
source_url: https://github.com/scalapb/scalapb
5+
description: Base types for Scala. Generates message and enum types.
6+
output_languages:
7+
- scala
8+
spdx_license_id: Apache-2.0
9+
license_url: https://github.com/scalapb/ScalaPB/blob/v0.11.21/LICENSE
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:xVLgAyjVnz1TSM+e+nKUadDb914GrSs1BWqxg6b8xqg=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:P+S3F7LTYdh6yrSP1oORGhKHn7xB4uSiladWDT2/uMY=

0 commit comments

Comments
 (0)