https://kotlinlang.org logo
Title
m

mbonnin

05/09/2022, 2:32 PM
Is there a public Docker image that comes with kotlin preinstalled that I could build upon ?
p

phldavies

05/09/2022, 2:51 PM
From a runtime perspective you only need a JRE
m

mbonnin

05/09/2022, 2:51 PM
I need the compiler, this is to run Kotlin scripts
n

nfrankel

05/09/2022, 3:08 PM
here's my github build to do that: https://github.com/nfrankel/nfrankel/blob/master/.github/workflows/build.yml it's the simplest way i found
m

mbonnin

05/09/2022, 3:11 PM
Ah thanks!
But wait. Github runners have Kotlin installed by default theses days
Why do you need this?
n

nfrankel

05/09/2022, 3:25 PM
1. because it was not the case at the time 2. because i need an old version - kotlin scripting is not an optimal solution at the moment (see my talk at fosdem 😉)
m

mbonnin

05/09/2022, 3:26 PM
Ahah yes I remember 🙂
What's the issue with newest versions again?
Sorry my brain is
.
right now 😅
n

nfrankel

05/09/2022, 3:30 PM
• 1.5 doesn't work at all • 1.6 might but i'm using jsoup which is already on the classpath but in a very limited version and there's no classpath isolation
m

mbonnin

05/09/2022, 3:31 PM
Ah the good old classpath issues 😬
You have a Youtrack I can star at hand?
I'd love to have better scripting support
n

nfrankel

05/09/2022, 3:35 PM
You have a Youtrack I can star at hand?
nope, but i think there's one
I'd love to have better scripting support
me as well but this script will be the last one in kotlin now i write my scripts in python even though i'm not a python dev
😮 1
🐍 1