File tree Expand file tree Collapse file tree 5 files changed +26
-0
lines changed
plugins/community/sudorandom-connect-openapi/v0.21.3
tests/testdata/buf.build/community/sudorandom-connect-openapi/v0.21.3 Expand file tree Collapse file tree 5 files changed +26
-0
lines changed 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.19
2+ FROM --platform=$BUILDPLATFORM golang:1.25.3-bookworm AS build
3+
4+ ARG TARGETOS TARGETARCH
5+ ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH
6+
7+ RUN --mount=type=cache,target=/go/pkg/mod \
8+ go install -ldflags "-s -w" -tags remote_plugin -trimpath github.com/sudorandom/protoc-gen-connect-openapi@v0.21.3 \
9+ && mv /go/bin/${GOOS}_${GOARCH}/protoc-gen-connect-openapi /go/bin/protoc-gen-connect-openapi || true
10+
11+ FROM scratch
12+ COPY --from=build --link /etc/passwd /etc/passwd
13+ COPY --from=build --link --chown=root:root /go/bin/protoc-gen-connect-openapi .
14+ USER nobody
15+ ENTRYPOINT [ "/protoc-gen-connect-openapi" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/community/sudorandom-connect-openapi
3+ plugin_version : v0.21.3
4+ source_url : https://github.com/sudorandom/protoc-gen-connect-openapi
5+ description : Plugin for generating OpenAPIv3 from Protobufs matching the Connect RPC interface.
6+ spdx_license_id : MIT
7+ license_url : https://github.com/sudorandom/protoc-gen-connect-openapi/blob/v0.21.3/LICENSE
Original file line number Diff line number Diff line change 1+ h1:hoDQv39ijB2GCqQTnGlgVj1q8JPDB9lmQkY0WUmE+Qc=
Original file line number Diff line number Diff line change 1+ h1:tXvqQAI2yeM8+7VlRR4LY5WOPVz6elhwUNQjC7wJpeM=
You can’t perform that action at this time.
0 commit comments