This reduces size of the Docker base image from 3.03GB to 1.29GB.
Also:
services: Pass gRPC build flags at build time
services: Better Docker layering in base image
services: Remove unused gRPC build variable
Differential D3399
services: Remove gRPC source after installing • jim on Mar 10 2022, 11:36 AM. Authored by Tags None Referenced Files
Subscribers
Details This reduces size of the Docker base image from 3.03GB to 1.29GB. Also: services: Pass gRPC build flags at build time Run npm run build-all and run-all
Diff Detail
Event Timeline
Comment Actions What is the reason behind having grpc flags passed to the cmake in the bash script instead of having them directly in the cmake file?
Comment Actions Because that is when gRPC is built. In the CMake file, it's just using the pre-installed gRPC library. See comments here https://phabricator.ashoat.com/D3198?id=10038#inline-19455 and here https://linear.app/comm/issue/ENG-824#comment-6555f66b.
Comment Actions Ah yes, sorry I get it now, it's alright!
|