File tree Expand file tree Collapse file tree 5 files changed +28
-0
lines changed
plugins/protocolbuffers/dart/v23.0.0
tests/testdata/buf.build/protocolbuffers/dart/v23.0.0 Expand file tree Collapse file tree 5 files changed +28
-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.18
2+ FROM dart:3.9.3-sdk AS build
3+
4+ WORKDIR /build
5+ RUN git clone --depth 1 --branch protoc_plugin-v23.0.0 https://github.com/google/protobuf.dart.git \
6+ && cd protobuf.dart/protoc_plugin \
7+ && dart pub get \
8+ && dart compile exe bin/protoc_plugin.dart -o /build/protoc-gen-dart
9+
10+ FROM scratch
11+ COPY --from=build --link /etc/passwd /etc/passwd
12+ COPY --from=build --link /runtime/ /
13+ COPY --from=build --link /build/protoc-gen-dart .
14+ USER nobody
15+ ENTRYPOINT [ "/protoc-gen-dart" ]
Original file line number Diff line number Diff line change 1+ version : v1
2+ name : buf.build/protocolbuffers/dart
3+ plugin_version : v23.0.0
4+ source_url : https://github.com/google/protobuf.dart
5+ description : Base types for Dart. Generates message and enum types.
6+ output_languages :
7+ - dart
8+ spdx_license_id : BSD-3-Clause
9+ license_url : https://github.com/google/protobuf.dart/blob/protoc_plugin-v23.0.0/LICENSE
Original file line number Diff line number Diff line change 1+ h1:EHjoAFC0f9MYDGp5ponHPsHSq+oITr/nJ+W10CQ0jPw=
Original file line number Diff line number Diff line change 1+ h1:nMXYfauiozPs3tgQnr1CC/YD1AednnhCB7OOoSLUjGo=
You can’t perform that action at this time.
0 commit comments