An environment to compile applications writter in kotlin with kotlin-native
2.5K
This Project is an Ubuntu based container to compile kotlin native applications.
Following branches and tags are supported.
each other tag/branch might or might not work.
mkdir kotlin-native-samples && \
cd kotlin-native-samples && \
git init && \
git config core.sparseCheckout true && \
git remote add -f origin https://github.com/JetBrains/kotlin-native.git && \
echo "samples/*" > .git/info/sparse-checkout && \
git checkout v0.3 # use other branch/tag if needed
docker run --rm -ti --workdir /sample -u root \
-v "$(pwd)/samples/libcurl:/sample" \
hemeroc/kotlin-native:v0.3.0 \
/bin/bash -c \
"apt-get update; apt-get install libcurl4-openssl-dev; ./build.sh"
./samples/libcurl/ and is called Curl.kexe../samples/libcurl/Curl.kexe
As your newly built version of curl requires libcurl-openssl it obviously has to be installed on the system where you are trying to run the binary.
Content type
Image
Digest
Size
331.8 MB
Last updated
over 8 years ago
docker pull hemeroc/kotlin-native