-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3021259
commit 26179e7
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 \ | ||
|
@@ -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 | ||
|