debuglevel / greeting-microservice

Micronaut microservice template written in Kotlin
The Unlicense
5 stars 2 forks source link

Support gRPC #14

Open debuglevel opened 3 years ago

debuglevel commented 3 years ago
> Task :generateProto FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateProto'.
> java.io.IOException: Cannot run program "/root/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.12.2/1ae205c004245ac57791ff3b89d2275146b7e472/protoc-3.12.2-linux-x86_64.exe": error=2, No such file or directory
debuglevel commented 3 years ago

Seems to be a "precompiled against glibc" issue while alpine uses musl: https://github.com/google/protobuf-gradle-plugin/issues/265

debuglevel commented 3 years ago

Added glibc to Dockerfile. Although alpine provides a protoc package, it does probably not provide its plugins.

debuglevel commented 3 years ago

gitlab build still fails

debuglevel commented 2 years ago

Did it in https://github.com/debuglevel/phonenumber-microservice/commit/1f1eb2a43daf425de2ade7c174f5ca8e83b02ea3 See also the necessary version bumps, as something failed with older versions.

debuglevel commented 2 years ago

Version bumps integrated