Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions plugins/connectrpc/go/v1.20.0/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
15 changes: 15 additions & 0 deletions plugins/connectrpc/go/v1.20.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.23
FROM --platform=$BUILDPLATFORM golang:1.26.3-trixie@sha256:a085df697019cb63b40a70f6a92b948f7dc9df96dfcb2c20ba6eed25ce28f5b3 AS build

ARG TARGETOS TARGETARCH
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH

RUN --mount=type=cache,target=/go/pkg/mod \
go install -ldflags="-s -w" -trimpath connectrpc.com/connect/cmd/protoc-gen-connect-go@v1.20.0 \
&& mv /go/bin/${GOOS}_${GOARCH}/protoc-gen-connect-go /go/bin/protoc-gen-connect-go || true

FROM scratch
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
COPY --from=build --link /go/bin/protoc-gen-connect-go /
USER nobody
ENTRYPOINT [ "/protoc-gen-connect-go" ]
20 changes: 20 additions & 0 deletions plugins/connectrpc/go/v1.20.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: v1
name: buf.build/connectrpc/go
plugin_version: v1.20.0
source_url: https://github.com/connectrpc/connect-go
integration_guide_url: https://connectrpc.com/docs/go/getting-started
description: Generates client and server stubs for connectrpc.com/connect. Compatible with the gRPC, gRPC-Web, and Connect RPC protocols.
deps:
- plugin: buf.build/protocolbuffers/go:v1.36.11
output_languages:
- go
registry:
go:
min_version: "1.25"
deps:
- module: connectrpc.com/connect
version: v1.20.0
opts:
- paths=source_relative
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-go/blob/v1.20.0/LICENSE
2 changes: 2 additions & 0 deletions plugins/connectrpc/gosimple/v1.20.0/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
15 changes: 15 additions & 0 deletions plugins/connectrpc/gosimple/v1.20.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.23
FROM --platform=$BUILDPLATFORM golang:1.26.3-trixie@sha256:a085df697019cb63b40a70f6a92b948f7dc9df96dfcb2c20ba6eed25ce28f5b3 AS build

ARG TARGETOS TARGETARCH
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH

RUN --mount=type=cache,target=/go/pkg/mod \
go install -ldflags="-s -w" -trimpath connectrpc.com/connect/cmd/protoc-gen-connect-go@v1.20.0 \
&& mv /go/bin/${GOOS}_${GOARCH}/protoc-gen-connect-go /go/bin/protoc-gen-connect-go || true

FROM scratch
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
COPY --from=build --link /go/bin/protoc-gen-connect-go /
USER nobody
ENTRYPOINT [ "/protoc-gen-connect-go" ]
21 changes: 21 additions & 0 deletions plugins/connectrpc/gosimple/v1.20.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: v1
name: buf.build/connectrpc/gosimple
plugin_version: v1.20.0
source_url: https://github.com/connectrpc/connect-go
integration_guide_url: https://connectrpc.com/docs/go/getting-started
description: Generates client and server stubs with simple function signatures for connectrpc.com/connect. Compatible with the gRPC, gRPC-Web, and Connect RPC protocols.
deps:
- plugin: buf.build/protocolbuffers/go:v1.36.11
output_languages:
- go
registry:
go:
min_version: "1.25"
deps:
- module: connectrpc.com/connect
version: v1.20.0
opts:
- paths=source_relative
- simple
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-go/blob/v1.20.0/LICENSE
2 changes: 2 additions & 0 deletions plugins/connectrpc/swift-mocks/v1.2.3/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
17 changes: 17 additions & 0 deletions plugins/connectrpc/swift-mocks/v1.2.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1.23
FROM swift:6.3.2-bookworm@sha256:de037fec606b26cee2bf7f93dba8eab7a617f067f94cf78669f929e5a0c6146a AS build

WORKDIR /app
RUN apt-get update \
&& apt-get install -y libstdc++-12-dev
RUN git clone --depth 1 --branch 1.2.3 https://github.com/connectrpc/connect-swift
WORKDIR /app/connect-swift
RUN swift build -c release --product protoc-gen-connect-swift-mocks --static-swift-stdlib -Xlinker -s

FROM gcr.io/distroless/cc-debian13:latest@sha256:8b5d1db6d2253036a53cb8362d3e3fa82a7caf84c247772c46a023166c64e977 AS base

FROM scratch
COPY --link --from=base / /
COPY --link --from=build /app/connect-swift/.build/release/protoc-gen-connect-swift-mocks .
USER nobody
ENTRYPOINT [ "/protoc-gen-connect-swift-mocks" ]
32 changes: 32 additions & 0 deletions plugins/connectrpc/swift-mocks/v1.2.3/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: v1
name: buf.build/connectrpc/swift-mocks
plugin_version: v1.2.3
source_url: https://github.com/connectrpc/connect-swift
description: Generates mocks that are compatible with Connect-Swift clients.
deps:
- plugin: buf.build/apple/swift:v1.38.0
- plugin: buf.build/connectrpc/swift:v1.2.3
output_languages:
- swift
registry:
swift:
deps:
- source: https://github.com/connectrpc/connect-swift.git
package: connect-swift
version: 1.2.3
products:
- ConnectMocks
platforms:
macos: v10_15
ios: v12
tvos: v13
watchos: v6
swift_versions:
- .v5
- .v6
opts:
- Visibility=Public
- FileNaming=PathToUnderscores
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-swift/blob/1.2.3/LICENSE
integration_guide_url: https://connectrpc.com/docs/swift/testing
2 changes: 2 additions & 0 deletions plugins/connectrpc/swift/v1.2.3/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
17 changes: 17 additions & 0 deletions plugins/connectrpc/swift/v1.2.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1.23
FROM swift:6.3.2-bookworm@sha256:de037fec606b26cee2bf7f93dba8eab7a617f067f94cf78669f929e5a0c6146a AS build

WORKDIR /app
RUN apt-get update \
&& apt-get install -y libstdc++-12-dev
RUN git clone --depth 1 --branch 1.2.3 https://github.com/connectrpc/connect-swift
WORKDIR /app/connect-swift
RUN swift build -c release --product protoc-gen-connect-swift --static-swift-stdlib -Xlinker -s

FROM gcr.io/distroless/cc-debian13:latest@sha256:8b5d1db6d2253036a53cb8362d3e3fa82a7caf84c247772c46a023166c64e977 AS base

FROM scratch
COPY --link --from=base / /
COPY --link --from=build /app/connect-swift/.build/release/protoc-gen-connect-swift .
USER nobody
ENTRYPOINT [ "/protoc-gen-connect-swift" ]
31 changes: 31 additions & 0 deletions plugins/connectrpc/swift/v1.2.3/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: v1
name: buf.build/connectrpc/swift
plugin_version: v1.2.3
source_url: https://github.com/connectrpc/connect-swift
description: Idiomatic gRPC & Connect RPCs for Swift.
deps:
- plugin: buf.build/apple/swift:v1.38.0
output_languages:
- swift
registry:
swift:
deps:
- source: https://github.com/connectrpc/connect-swift.git
package: connect-swift
version: 1.2.3
products:
- Connect
platforms:
macos: v10_15
ios: v12
tvos: v13
watchos: v6
swift_versions:
- .v5
- .v6
opts:
- Visibility=Public
- FileNaming=PathToUnderscores
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-swift/blob/1.2.3/LICENSE
integration_guide_url: https://connectrpc.com/docs/swift/getting-started
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:u23hequoE+Iv/KIkcXvKs9udlNUQAhml/9mKE4M9vUc=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:AgnlcVVjlOtjzOJY9m9yC5oH80DRlmvsmpwUTJG5RWM=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:YRv9BxkN+euOH9Z4cbDJsBcE7PV5bMc/CRdumQ7YG7g=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:2OQOwNtie1hgyVA/bEr78VRW00AAnq+bUNLs4XkVLTw=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:IFskm5Iu3LzqVRrv3i09NlJdy7N8s00Wymd+jnu80yI=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:24C0oBcfopWOWEbwUeY4S5TimRpKlB8ESoS2UjINjm4=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:6osQB7bm0YcckpFxzK/xT2Cvj9mECNDCM+8WJxW8qI8=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:0ab7wntSWxsB1ZdQOvDzZOhtiTMzeKpUqXf2GQ7VeYw=
Loading