Skip to content

A Docker container for running Kotlin scripts

License

Notifications You must be signed in to change notification settings

gmazzo/kotlin-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kotlin-container

An unofficial Docker image for running Kotlin scripts.

Latest Build Status Users

Usage

Given a Kotlin script ./scripts/hello.kts:

println("Hello, World!")
docker run -v ./scripts:/scripts gmazzo/kotlin /scripts/hello.kts

Variants

Default latest is based on eclipse-temurin:21-alpine targeting the latest Kotlin release (updated monthly)

There are also specific tags for other JDK versions (11, 17, and 21) and Amazon Corretto, Eclipse Temurin, and Azul Zulu vendors. You can explore the full list at Docker Hub

About

A Docker container for running Kotlin scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages