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
3 changes: 3 additions & 0 deletions plugins/community/nanopb/v0.4.91/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!Dockerfile
!requirements.txt
18 changes: 18 additions & 0 deletions plugins/community/nanopb/v0.4.91/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# syntax=docker/dockerfile:1.26
FROM python:3.13.15-trixie@sha256:785ba3c54682e15fd75186dd1732d88389884e9b6f7311871674c18e5d32a1f1 AS build
WORKDIR /app
RUN python -mvenv /app
ADD /requirements.txt requirements.txt
RUN . ./bin/activate \
&& pip install --no-cache-dir -r requirements.txt \
&& pip uninstall --yes pip \
&& rm -f requirements.txt bin/activate.fish bin/activate.csh bin/Activate.ps1 \
&& ln -sf /usr/bin/python /app/bin/python

FROM gcr.io/distroless/python3-debian13:latest@sha256:84e04b1c8a7904c81563ea125db995ba321fd330f3731f0a841e2f90757c4667 AS base

FROM scratch
COPY --link --from=base / /
COPY --link --from=build --chmod=0755 /app /app
USER nobody
ENTRYPOINT ["/app/bin/protoc-gen-nanopb"]
9 changes: 9 additions & 0 deletions plugins/community/nanopb/v0.4.91/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: v1
name: buf.build/community/nanopb
plugin_version: v0.4.91
source_url: https://github.com/nanopb/nanopb
description: Nanopb is a small code-size Protocol Buffers implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system.
output_languages:
- c
spdx_license_id: Zlib
license_url: https://github.com/nanopb/nanopb/blob/0.4.91/LICENSE.txt
1 change: 1 addition & 0 deletions plugins/community/nanopb/v0.4.91/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nanopb==0.4.9.1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:zHoGbaUYoNToq7Go1W/mNAtxHH+wAfMg5KUaw4+JbIY=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:L6fqMD6FXm45eW1pwqptDnC94YoQ5K8X4MSdIOGf8L4=
Loading