Last active
August 23, 2021 10:43
-
-
Save aroxu/0df93f71b7a429bbd650b44ee8496ac2 to your computer and use it in GitHub Desktop.
Kotlin + OpenJDK 16 for ARM64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM arm64v8/adoptopenjdk:16 | |
RUN apt update -y && apt install bash -y && \ | |
apt install build-essential wget zip unzip -y && \ | |
cd /usr/lib && \ | |
wget -q https://github.com/JetBrains/kotlin/releases/download/v1.5.21/kotlin-compiler-1.5.21.zip && \ | |
unzip kotlin-compiler-*.zip && \ | |
rm kotlin-compiler-*.zip && \ | |
rm -f kotlinc/bin/*.bat && \ | |
apt purge build-essential -y | |
ENV PATH $PATH:/usr/lib/kotlinc/bin | |
CMD ["kotlinc"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment