Sign inSign up

zenika/kotlin

By zenika

Updated almost 6 years ago

Kotlin docker images built upon official openjdk images.

Image
24

100K+

zenika/kotlin repository overview

Docker Build Status Docker Pulls

Please go to github.com/Zenika/docker-kotlin

What is Kotlin

Kotlin is a statically-typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM compiler infrastructure. Its primary development is from a team of JetBrains programmers based in Saint Petersburg, Russia. While the syntax is not compatible with Java, Kotlin is designed to interoperate with Java code and is reliant on Java code from the existing Java Class Library, such as the collections framework.

See https://en.wikipedia.org/wiki/Kotlin_%28programming_language%29 for more information.

Kotlin Logo

Usage

Start using the Kotlin REPL: docker container run -it --rm zenika/kotlin

Compile an app into a JAR file: docker container run -v /path/to/app:/app --rm zenika/kotlin kotlinc /app -include-runtime -d /app/app.jar

See Kotlin compiler version: docker container run -it --rm zenika/kotlin kotlinc -version

See Kotlin compiler help: docker container run -it --rm zenika/kotlin kotlinc -help

Examples

Some examples are available here: https://github.com/Zenika/docker-kotlin/blob/master/examples

Reference

Tag summary

Content type

Image

Digest

Size

223.1 MB

Last updated

almost 6 years ago

docker pull zenika/kotlin:1.1.61-jdk12-alpine