ClimateTraceKMP icon indicating copy to clipboard operation
ClimateTraceKMP copied to clipboard

Explore building a docker image with native-image

Open yschimke opened this issue 4 months ago • 3 comments

Micronaut promises a good startup win

https://github.com/micronaut-projects/micronaut-guides/blob/51d92d12db2220595fd916bee7c1e67838db9aee/guides/micronaut-docker-image/micronaut-docker-image.adoc#comparisons

yschimke avatar Jul 28 '25 21:07 yschimke

While there is a real extension https://github.com/GoogleContainerTools/jib-extensions/blob/master/first-party/jib-native-image-extension-gradle/src/main/java/com/google/cloud/tools/jib/gradle/extension/nativeimage/JibNativeImageExtension.java

it seems unmaintained?

yschimke avatar Jul 28 '25 21:07 yschimke

You might need to rebase this or apply your changes again to main. I had some temp stuff in that branch that this still has. I also removed backend module and kept everything in mcp-server

joreilly avatar Jul 29 '25 08:07 joreilly

@joreilly I don't have any easy way to test right now. Might try later on in a Github codespace.

yschimke avatar Jul 29 '25 09:07 yschimke