File tree 6 files changed +27
-0
lines changed
6 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ source :
2
+ crates :
3
+ crate_name : protoc-gen-prost
Original file line number Diff line number Diff line change
1
+ *
2
+ ! Dockerfile
Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1.4
2
+ FROM rust:1.66.0-alpine3.17 as builder
3
+ RUN apk add --no-cache musl-dev
4
+ WORKDIR /app
5
+ RUN --mount=type=cache,target=/usr/local/cargo/registry --mount=type=cache,target=/root/target \
6
+ cargo install protoc-gen-prost --version 0.2.1 --locked --root /app
7
+
8
+ FROM gcr.io/distroless/static
9
+ COPY --from=builder /app/bin/protoc-gen-prost /protoc-gen-prost
10
+ USER nobody
11
+ ENTRYPOINT ["/protoc-gen-prost" ]
Original file line number Diff line number Diff line change
1
+ version : v1
2
+ name : buf.build/community/neoeinstein-prost
3
+ plugin_version : v0.2.1
4
+ source_url : https://crates.io/crates/protoc-gen-prost
5
+ description : Generates code using the Prost! code generation engine.
6
+ output_languages :
7
+ - rust
8
+ spdx_license_id : Apache-2.0
9
+ license_url : https://github.com/neoeinstein/protoc-gen-prost/blob/1daacefaef6a5627d8a33d7258f58f972a845bba/LICENSE
Original file line number Diff line number Diff line change
1
+ h1:P+ng+Q1BRzOatMVDAU9TZH05uohslVqyi4Q6Riyq2Og=
Original file line number Diff line number Diff line change
1
+ h1:jfwgUYMNRZoehWajZoMrEC8OFpv5JfjU7IJqQf5qRzM=
You can’t perform that action at this time.
0 commit comments