File tree Expand file tree Collapse file tree
plugins/grpc/swift/v1.27.5
tests/testdata/buf.build/grpc/swift/v1.27.5 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.22
2+ FROM swift:6.3.0-bookworm@sha256:943bb41624442cef8ccca256f1ff7830ce25209cbad88ebfede0aaef268a8a80 AS build
3+
4+ RUN apt-get update \
5+ && apt-get install -y libstdc++-12-dev
6+ WORKDIR /app
7+ RUN git clone --depth 1 --branch 1.27.5 https://github.com/grpc/grpc-swift --recursive
8+ WORKDIR /app/grpc-swift
9+ RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s
10+
11+ FROM gcr.io/distroless/cc-debian13:latest@sha256:e1cc90d06703f5dc30ae869fbfce78fce688f21a97efecd226375233a882e62f AS base
12+
13+ FROM scratch
14+ COPY --link --from=base / /
15+ COPY --link --from=build /app/grpc-swift/.build/release/protoc-gen-grpc-swift .
16+ USER nobody
17+ ENTRYPOINT [ "/protoc-gen-grpc-swift" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/grpc/swift
3+ plugin_version : v1.27.5
4+ source_url : https://github.com/grpc/grpc-swift
5+ description : Generates Swift client and server stubs for the gRPC framework.
6+ deps :
7+ - plugin : buf.build/apple/swift:v1.36.1
8+ output_languages :
9+ - swift
10+ registry :
11+ swift :
12+ deps :
13+ - source : https://github.com/grpc/grpc-swift.git
14+ package : grpc-swift
15+ version : 1.27.5
16+ products :
17+ - GRPC
18+ opts :
19+ - Visibility=Public
20+ - FileNaming=PathToUnderscores
21+ spdx_license_id : Apache-2.0
22+ license_url : https://github.com/grpc/grpc-swift/blob/1.27.5/LICENSE
23+ integration_guide_url : https://github.com/grpc/grpc-swift#getting-grpc-swift
Original file line number Diff line number Diff line change 1+ h1:klAEUf7WFX/+TSOOUy7F75AMxFT6Xb3LNOx6aL9DYn0=
Original file line number Diff line number Diff line change 1+ h1:tVvtyf7StUea61DCqt0D6mKsji3dVZxna8snGt78kEA=
You can’t perform that action at this time.
0 commit comments