File tree Expand file tree Collapse file tree 5 files changed +27
-0
lines changed
plugins/grpc/swift/v1.14.0
tests/testdata/buf.build/grpc/swift/v1.14.0 Expand file tree Collapse file tree 5 files changed +27
-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.4
2+ FROM swift:5.7.3-focal AS build
3+
4+ WORKDIR /app
5+ RUN git clone --depth 1 --branch 1.14.0 https://github.com/grpc/grpc-swift --recursive
6+ WORKDIR /app/grpc-swift
7+ RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s
8+
9+ FROM gcr.io/distroless/cc-debian11
10+ COPY --from=build --link /app/grpc-swift/.build/release/protoc-gen-grpc-swift .
11+ USER nobody
12+ 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.14.0
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.20.3
8+ output_languages :
9+ - swift
10+ spdx_license_id : Apache-2.0
11+ license_url : https://github.com/grpc/grpc-swift/blob/1.14.0/LICENSE
Original file line number Diff line number Diff line change 1+ h1:AyTBCyR7NTQf+n2zmThBq9/Nveb5Mx/QZnQ4ZvovhF4=
Original file line number Diff line number Diff line change 1+ h1:nxLl9QVtjt+8+FrGOVBBSZnGQLT+GrD+NjxshOJh7xc=
You can’t perform that action at this time.
0 commit comments