Add Kotlin
This commit is contained in:
parent
6436d7daac
commit
5113f512b4
4 changed files with 19 additions and 0 deletions
4
docker/kotlin/Dockerfile
Normal file
4
docker/kotlin/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM kotlin:jdk12-alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
3
docker/kotlin/run.sh
Normal file
3
docker/kotlin/run.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
echo "$1" > program.kt
|
||||
kotlinc program.kt -include-runtime -d program.jar
|
||||
java -jar program.jar
|
Loading…
Add table
Add a link
Reference in a new issue