Join Slack
Powered by
Anyone know if there is a way to create a static n...
# kotlin-native
j
James Ward
08/17/2023, 3:25 PM
Anyone know if there is a way to create a static native executable that'd work on a
FROM scratch
docker container with Kotlin/Native?
đź‘€ 2
h
hfhbd
08/17/2023, 4:23 PM
Long term: with wasm. At the moment you still need a OS and some headers.
j
James Ward
08/17/2023, 4:26 PM
Cool. Not static, but figured out how to get this working on a pretty minimal base image (
gcr.io/distroless/base
):
https://github.com/jamesward/ktor-native-server
h
hfhbd
08/17/2023, 4:30 PM
Thanks for the link, I wasn’t aware Jib supports native images, nice!
35
Views
Open in Slack
Previous
Next