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.93/.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.93/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# syntax=docker/dockerfile:1.27
FROM python:3.13.18-trixie@sha256:51db6babcbd039687e5362a676db5444b5926739abb03b10c8c6a8144872611f 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:5bac3c3ab33426c460db63504cd1a267b3326b9f804d21c63359492858d1beda 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.93/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.93
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.93/LICENSE.txt
1 change: 1 addition & 0 deletions plugins/community/nanopb/v0.4.93/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nanopb==0.4.9.3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:V0ovkydao5S4W88FjWoPLiQ1neryTMmXPYZZA7UMFoc=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:RtZf4Em/C5SA3xlR2qXe6nZ3v3e11KxsxmM14CLR14A=
Loading