File tree Expand file tree Collapse file tree 5 files changed +50
-0
lines changed
plugins/grpc/swift-protobuf/v1.1.0
tests/testdata/buf.build/grpc/swift-protobuf/v1.1.0 Expand file tree Collapse file tree 5 files changed +50
-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.12
2+ FROM swift:6.0.3-bookworm AS build
3+
4+ WORKDIR /app
5+ RUN git clone --depth 1 --branch 1.1.0 https://github.com/grpc/grpc-swift-protobuf --recursive
6+ WORKDIR /app/grpc-swift-protobuf
7+ RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s
8+
9+ FROM gcr.io/distroless/cc-debian12:latest@sha256:b7550f0b15838de14c564337eef2b804ba593ae55d81ca855421bd52f19bb480 AS base
10+
11+ FROM scratch
12+ COPY --link --from=base / /
13+ COPY --link --from=build /app/grpc-swift-protobuf/.build/release/protoc-gen-grpc-swift .
14+ USER nobody
15+ ENTRYPOINT [ "/protoc-gen-grpc-swift" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/grpc/swift-protobuf
3+ plugin_version : v1.1.0
4+ source_url : https://github.com/grpc/grpc-swift-protobuf
5+ integration_guide_url : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/1.1.0/documentation/grpcprotobuf
6+ description : Generates Swift client and server stubs for the gRPC framework.
7+ deps :
8+ - plugin : buf.build/apple/swift:v1.29.0
9+ output_languages :
10+ - swift
11+ registry :
12+ swift :
13+ deps :
14+ - source : https://github.com/grpc/grpc-swift-protobuf.git
15+ package : grpc-swift-protobuf
16+ # https://github.com/grpc/grpc-swift-protobuf/blob/1.1.0/Package.swift#L22
17+ products : [ GRPCProtobuf ]
18+ version : 1.1.0
19+ # https://github.com/grpc/grpc-swift-protobuf/blob/1.1.0/Package.swift#L47
20+ swift_versions : [ ".v6" ]
21+ # https://github.com/grpc/grpc-swift-protobuf/blob/1.1.0/Package.swift#L123-L126
22+ platforms :
23+ macos : v15
24+ ios : v18
25+ tvos : v18
26+ watchos : v11
27+ opts :
28+ - Visibility=Public
29+ - FileNaming=PathToUnderscores
30+ spdx_license_id : Apache-2.0
31+ license_url : https://github.com/grpc/grpc-swift-protobuf/blob/1.1.0/LICENSE
Original file line number Diff line number Diff line change 1+ h1:Ouy7fwcPAu9owIHJWt8sSknVb3j9zb27aNgesYMbWrE=
Original file line number Diff line number Diff line change 1+ h1:V0Dh0Px2H6zgDohE5ujCC+ugC4e6iNiOydXmi7OX0EY=
You can’t perform that action at this time.
0 commit comments