Skip to content

Commit bd20138

Browse files
Add community/scalapb-scala v0.11.13 (#358)
1 parent f633806 commit bd20138

File tree

5 files changed

+28
-0
lines changed

5 files changed

+28
-0
lines changed
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.4
2+
FROM debian:bullseye-20230202 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.13/protoc-gen-scala-0.11.13-unix.sh
11+
12+
FROM gcr.io/distroless/java11-debian11
13+
COPY --from=build --link /protoc-gen-scala.jar .
14+
USER nobody
15+
ENTRYPOINT [ "/usr/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.13
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.13/LICENSE
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:8ybHDT7xcm2OEoVkEDg3Yoc0JJySTC1aZ3ZHH6PK+Gw=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:6yZvJ4tBl8nrZrSh8J67Rvc6ZZRobO6G22KjS26PUtc=

0 commit comments

Comments
 (0)