Add Kotlin

This commit is contained in:
1computer1 2019-03-15 20:53:44 -04:00
parent 6436d7daac
commit 5113f512b4
4 changed files with 19 additions and 0 deletions

4
docker/kotlin/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM kotlin:jdk12-alpine
LABEL author="1Computer1"
COPY run.sh /var/run/

3
docker/kotlin/run.sh Normal file
View file

@ -0,0 +1,3 @@
echo "$1" > program.kt
kotlinc program.kt -include-runtime -d program.jar
java -jar program.jar