Minimal docker app with fat kotlin jar (includes stdlib)
Docker should be installed, getting started guide is here
./gradlew dockerRun to run container
./gradlew logContainer to run and log application output
Fat jar is assembled for kotlin-stdlib to be added to classpath.
Entry point is MainKt.class, as described in a generated manifest.
gradle-docker-plugin is used for every docker-related action, Dockerfile is also generated by named plugin.