Skip to content

Instantly share code, notes, and snippets.

@StefMa
Created March 20, 2018 07:55
Show Gist options
  • Save StefMa/64289af5872391fccefee7f540be4771 to your computer and use it in GitHub Desktop.
Save StefMa/64289af5872391fccefee7f540be4771 to your computer and use it in GitHub Desktop.
Build Kotlin/Native with Docker
FROM fedora:27
RUN dnf -y install java-1.8.0-openjdk
RUN dnf -y install java-1.8.0-openjdk-devel
RUN dnf -y install git
RUN dnf -y install ncurses-compat-libs
RUN git clone https://github.com/JetBrains/kotlin-native.git source
WORKDIR "source"
RUN ./gradlew dependencies:update --no-daemon -i
RUN ./gradlew dist --no-daemon -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment