but can you just bundle binaries? It’s custom dock...
# kotlin-native
g
but can you just bundle binaries? It’s custom docker image
n
Uploading a custom Docker image wouldn't be feasible since it is too large (around 300 MB, with the Linux AMD64 binary around 400KB).
Just creating a custom image for doing Kotlin Native development (using Debian as a base, not Alpine since it doesn't support glibc) is enormous (around 4.3 GB)! 😱
Normally binaries aren't included in a Git repo.
g
Just creating a custom image for doing Kotlin Native development (using Debian as a base, not Alpine since it doesn’t support glibc) is enormous (around 4.3 GB)!
That’s why I’m talking about several levels. One for K/N dev, one for app itself btw You can check why image is so big
n
Would be nice to have a official Kotlin Native Docker image as an alternative way to deploy the Kotlin Native SDK ☁️.
g
I don’t think that it make sense before 1.0
we can try to configure own non-official image that builds by CI
n
Why does the CI need to manage the build?
g
Because it's easier to support: new release of K/N, build and tag new image of docker for this version
n
If CI is used then one would encounter the problem where none of the open source CI's have Kotlin support.
g
Why do you need Kotlin support there? Most of CI’s is just docker container and this docker can build another docker, it’s pure linux after all, don’t see why need some special support of Kotlin
I’m just talking that docker image support by K/N team is probably not what they should spend their time. We can just build image with K/N ourselves and configure some open CI to do that for any version of K/N