Skip to content

Commit

Permalink
chore: renovate nanopb
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy authored and rvolosatovs committed Mar 17, 2023
1 parent 3021259 commit 26179e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@
"depNameTemplate": "ckaznocha/protoc-gen-lint",
"datasourceTemplate": "github-releases"
},
{
"fileMatch": ["^deps\\.list$"],
"matchStrings": ["PROTOC_GEN_NANOPB_VERSION=(?<currentValue>.*?)\\n"],
"depNameTemplate": "nanopb",
"datasourceTemplate": "pypi"
},
{
"fileMatch": ["^deps\\.list$"],
"matchStrings": ["PROTOC_GEN_RUST_VERSION=(?<currentValue>.*?)\\n"],
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ RUN find /out -name "*.a" -delete -or -name "*.la" -delete

FROM alpine:${ALPINE_IMAGE_VERSION}
LABEL maintainer="Roman Volosatovs <[email protected]>"
ARG PROTOC_GEN_NANOPB_VERSION
RUN apk add --no-cache \
bash \
grpc \
Expand All @@ -436,7 +437,7 @@ COPY --from=upx /out/ /
COPY --from=protoc_gen_ts /out/ /
COPY --from=protoc_gen_dart /out/ /
COPY --from=protoc_gen_dart /runtime/ /
RUN python3 -m ensurepip && pip3 install --no-cache nanopb
RUN python3 -m ensurepip && pip3 install --no-cache nanopb==${PROTOC_GEN_NANOPB_VERSION}
RUN ln -s /usr/bin/grpc_cpp_plugin /usr/bin/protoc-gen-grpc-cpp
RUN ln -s /usr/bin/grpc_csharp_plugin /usr/bin/protoc-gen-grpc-csharp
RUN ln -s /usr/bin/grpc_node_plugin /usr/bin/protoc-gen-grpc-js
Expand Down

0 comments on commit 26179e7

Please sign in to comment.