eclipse / kuksa.val

kuksa.val
Apache License 2.0
89 stars 52 forks source link

kuksa-client docker > 400MB on ARM #682

Closed SebastianSchildt closed 9 months ago

SebastianSchildt commented 9 months ago

kuksa-client docker is around 480MiB on ARM, while the "normal" size on x64 is around 95MiB.

Root cause seems to be a fault in the GRPC build process that leaves an unstripped .so

see inside the container

/kuksa-client # du -hcs *
[...]
242.2M  grpc
150.3M  grpc_tools

There is an issue https://github.com/grpc/grpc/issues/29935

the easiest solution is probably just stripping manually when building on ARM

erikbosch commented 9 months ago

Partially related to observations in #367 If we fix it we could possibly change push: false at https://github.com/eclipse/kuksa.val/blob/master/.github/workflows/kuksa-client.yml#L93