Skip to content

A quick way to play with kscript without having to install it

Notifications You must be signed in to change notification settings

le0nidas/kscript-from-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kscript from docker

A quick way to play with kscript without having to install it.

How?

After building a docker image that contains java, kotlin and kscript it uses it to execute the provided code or .kts file inside a container.

You can use kscript in every way described here

kscript-router.sh

To make sure all cases from the aforementioned link are supported, the input is being given to a bash script that then decides how to run the container.

Installation

Clone this repository and inside the folder that was cloned run:

> chmod +x install.sh
> ./install.sh

This will:

  1. Build a docker image that has java, kotlin and kscript installed
  2. Make kscript-router executable
  3. Add it to the current user's PATH
  4. Create an alias for it (kscript = kscript-router)

About

A quick way to play with kscript without having to install it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published