Skip to content

Commit

Permalink
chore: copy binaries after downloading deps
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy authored and rvolosatovs committed Jan 28, 2023
1 parent 5602ac8 commit b08a3b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -387,17 +387,17 @@ RUN find /out -name "*.a" -delete -or -name "*.la" -delete

FROM alpine:${ALPINE_IMAGE_VERSION}
LABEL maintainer="Roman Volosatovs <[email protected]>"
COPY --from=upx /out/ /
COPY --from=protoc_gen_ts /out/ /
COPY --from=protoc_gen_dart /out/ /
COPY --from=protoc_gen_dart /runtime/ /
RUN apk add --no-cache \
bash \
grpc \
grpc-java \
protobuf \
protobuf-dev \
protobuf-c-compiler
COPY --from=upx /out/ /
COPY --from=protoc_gen_ts /out/ /
COPY --from=protoc_gen_dart /out/ /
COPY --from=protoc_gen_dart /runtime/ /
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 b08a3b4

Please sign in to comment.