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/protocolbuffers/dart/v23.0.0/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
15 changes: 15 additions & 0 deletions plugins/protocolbuffers/dart/v23.0.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.18
FROM dart:3.9.3-sdk AS build

WORKDIR /build
RUN git clone --depth 1 --branch protoc_plugin-v23.0.0 https://github.com/google/protobuf.dart.git \
&& cd protobuf.dart/protoc_plugin \
&& dart pub get \
&& dart compile exe bin/protoc_plugin.dart -o /build/protoc-gen-dart

FROM scratch
COPY --from=build --link /etc/passwd /etc/passwd
COPY --from=build --link /runtime/ /
COPY --from=build --link /build/protoc-gen-dart .
USER nobody
ENTRYPOINT [ "/protoc-gen-dart" ]
9 changes: 9 additions & 0 deletions plugins/protocolbuffers/dart/v23.0.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: v1
name: buf.build/protocolbuffers/dart
plugin_version: v23.0.0
source_url: https://github.com/google/protobuf.dart
description: Base types for Dart. Generates message and enum types.
output_languages:
- dart
spdx_license_id: BSD-3-Clause
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
@@ -0,0 +1 @@
h1:EHjoAFC0f9MYDGp5ponHPsHSq+oITr/nJ+W10CQ0jPw=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:nMXYfauiozPs3tgQnr1CC/YD1AednnhCB7OOoSLUjGo=