Skip to content

Commit 2558380

Browse files
Update bufbuild/validate-java (#2143)
1 parent 8cc6489 commit 2558380

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-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: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# syntax=docker/dockerfile:1.19
2+
FROM golang:1.25.5-bookworm AS build
3+
RUN CGO_ENABLED=0 go install -ldflags "-s -w" -trimpath github.com/envoyproxy/protoc-gen-validate/cmd/[email protected]
4+
5+
FROM scratch
6+
COPY --from=build --link /etc/passwd /etc/passwd
7+
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-validate-java .
8+
USER nobody
9+
ENTRYPOINT [ "/protoc-gen-validate-java" ]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: v1
2+
name: buf.build/bufbuild/validate-java
3+
plugin_version: v1.3.0
4+
source_url: https://github.com/bufbuild/protoc-gen-validate
5+
integration_guide_url: https://github.com/bufbuild/protoc-gen-validate/blob/main/docs.md#java
6+
description: Deprecated in favor of https://github.com/bufbuild/protovalidate-java which does not require code generation.
7+
deps:
8+
- plugin: buf.build/protocolbuffers/java:v33.2
9+
output_languages:
10+
- java
11+
spdx_license_id: Apache-2.0
12+
license_url: https://github.com/bufbuild/protoc-gen-validate/blob/v1.3.0/LICENSE
13+
registry:
14+
maven:
15+
deps:
16+
- build.buf.protoc-gen-validate:pgv-java-stub:1.3.0
17+
deprecated: true
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

0 commit comments

Comments
 (0)