-
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.
Fixes: #98 Co-authored-by: 11Dimensions <[email protected]> Co-authored-by: Philip K. Warren <[email protected]>
- Loading branch information
1 parent
126f6fc
commit adabf5f
Showing
6 changed files
with
32 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,4 @@ | ||
source: | ||
github: | ||
owner: scalapb | ||
repository: scalapb |
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,15 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM debian:bullseye-20230109 AS build | ||
|
||
ARG TARGETARCH | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl | ||
|
||
#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 | ||
RUN curl -fsSL -o protoc-gen-scala.jar https://repo1.maven.org/maven2/com/thesamet/scalapb/protoc-gen-scala/0.11.12/protoc-gen-scala-0.11.12-unix.sh | ||
|
||
FROM gcr.io/distroless/java11-debian11 | ||
COPY --from=build --link /protoc-gen-scala.jar . | ||
USER nobody | ||
ENTRYPOINT [ "/usr/bin/java", "-jar", "/protoc-gen-scala.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,9 @@ | ||
version: v1 | ||
name: buf.build/community/scalapb-scala | ||
plugin_version: v0.11.12 | ||
source_url: https://github.com/scalapb/scalapb | ||
description: Base types for Scala. Generates message and enum types. | ||
output_languages: | ||
- scala | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/scalapb/ScalaPB/blob/v0.11.12/LICENSE |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/scalapb-scala/v0.11.12/eliza/plugin.sum
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:8ybHDT7xcm2OEoVkEDg3Yoc0JJySTC1aZ3ZHH6PK+Gw= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/scalapb-scala/v0.11.12/petapis/plugin.sum
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:6yZvJ4tBl8nrZrSh8J67Rvc6ZZRobO6G22KjS26PUtc= |