Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 404 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 404 Bytes

Minimal Kotlin project

This project

  • builds with gradle.
  • creates a fatjar
  • and creates a docker-container

Commands

./gradlew build

The fat-jar will be located at /build/libs

docker build -t kotlin-fatjar .

This builds the docker container based on openjdk-alpine.

The container can now be run with:

docker run kotlin-fatjar