File tree Expand file tree Collapse file tree
tests/testdata/buf.build/grpc-ecosystem Expand file tree Collapse file tree 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 golang:1.20.1-bullseye AS build
3+ RUN --mount=type=cache,target=/go/pkg/mod \
4+ CGO_ENABLED=0 \
5+ go install -ldflags="-s -w" -trimpath github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.15.2
6+
7+ FROM scratch
8+ COPY --from=build --link /etc/passwd /etc/passwd
9+ COPY --from=build --link --chown=root:root /go/bin/protoc-gen-grpc-gateway .
10+ USER nobody
11+ ENTRYPOINT [ "/protoc-gen-grpc-gateway" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/grpc-ecosystem/gateway
3+ plugin_version : v2.15.2
4+ source_url : https://github.com/grpc-ecosystem/grpc-gateway
5+ description : gRPC to JSON proxy generator following the gRPC HTTP spec.
6+ output_languages :
7+ - go
8+ deps :
9+ - plugin : buf.build/protocolbuffers/go:v1.28.1
10+ - plugin : buf.build/grpc/go:v1.2.0
11+ spdx_license_id : BSD-3-Clause
12+ license_url : https://github.com/grpc-ecosystem/grpc-gateway/blob/v2.15.2/LICENSE.txt
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 golang:1.20.1-bullseye AS build
3+ RUN --mount=type=cache,target=/go/pkg/mod \
4+ CGO_ENABLED=0 \
5+ go install -ldflags="-s -w" -trimpath github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.15.2
6+
7+ FROM scratch
8+ COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
9+ COPY --from=build --link /go/bin/protoc-gen-openapiv2 /
10+ USER nobody
11+ ENTRYPOINT [ "/protoc-gen-openapiv2" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/grpc-ecosystem/openapiv2
3+ plugin_version : v2.15.2
4+ source_url : https://github.com/grpc-ecosystem/grpc-gateway
5+ description : Generates OpenAPI definitions for Protobuf services.
6+ spdx_license_id : BSD-3-Clause
7+ license_url : https://github.com/grpc-ecosystem/grpc-gateway/blob/v2.15.2/LICENSE.txt
Original file line number Diff line number Diff line change 1+ h1:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Original file line number Diff line number Diff line change 1+ h1:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Original file line number Diff line number Diff line change 1+ h1:i/zjVkZaxoFgKQESrbFwisCaDNzRLPWmUND0XCR+IlI=
Original file line number Diff line number Diff line change 1+ h1:SybfdW8LTRLCVcNSux9/dP9iFEQFhWbADwdaILiM0EY=
You can’t perform that action at this time.
0 commit comments