File tree Expand file tree Collapse file tree 6 files changed +30
-0
lines changed
plugins/community/sudorandom-connect-openapi
tests/testdata/buf.build/community/sudorandom-connect-openapi/v0.19.1 Expand file tree Collapse file tree 6 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ source :
2
+ github :
3
+ owner : sudorandom
4
+ repository : protoc-gen-connect-openapi
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.17
2
+ FROM --platform=$BUILDPLATFORM golang:1.24.6-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/
[email protected] \
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.19.1
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.19.1/LICENSE
Original file line number Diff line number Diff line change
1
+ h1:1rR4VFIxpSsxmiSaRJmu3EIUbbrJIjthlir6evFUKFM=
Original file line number Diff line number Diff line change
1
+ h1:pJefAfxuKwc/lb2lKsfzBrN16FThe0E8iP73roGRwlI=
You can’t perform that action at this time.
0 commit comments