Skip to content

GooKv/docker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-example

Minimal docker app with fat kotlin jar (includes stdlib)

Requirements

Docker should be installed, getting started guide is here

Running

./gradlew dockerRun to run container

./gradlew logContainer to run and log application output

Implementation description

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.

About

Getting started with Docker using Kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages