Skip to content

Commit

Permalink
Add protocolbuffers/dart v21.1.2 (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Oct 10, 2023
1 parent b2beafe commit 20622b5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/protocolbuffers/dart/v21.1.2/.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/v21.1.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.6
FROM dart:2.19.6-sdk AS build

WORKDIR /build
RUN curl -fsSL https://pub.dartlang.org/packages/protoc_plugin/versions/21.1.2.tar.gz --compressed -o protoc_plugin.tar.gz \
&& tar -xvf protoc_plugin.tar.gz \
&& dart pub get \
&& dart compile exe bin/protoc_plugin.dart -o 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/v21.1.2/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: v21.1.2
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-v21.1.2/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:CldRXfthaTx233/KeLljyWMOrItmNABxwWU3d8H9+xM=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:j0UgqeFkuxLnrP0VMawXHodV1MIfnmE57XHv1H3nfJE=

0 comments on commit 20622b5

Please sign in to comment.