Commit | Line | Data |
---|---|---|
9a11d93e JFI |
1 | FROM ubuntu:vivid |
2 | MAINTAINER Joel Martin <github@martintribe.org> | |
3 | ||
4 | ########################################################## | |
5 | # General requirements for testing or common across many | |
6 | # implementations | |
7 | ########################################################## | |
8 | ||
9 | RUN apt-get -y update | |
10 | ||
11 | # Required for running tests | |
12 | RUN apt-get -y install make python | |
13 | ||
14 | # Some typical implementation and test requirements | |
15 | RUN apt-get -y install curl libreadline-dev libedit-dev | |
16 | ||
17 | RUN mkdir -p /mal | |
18 | WORKDIR /mal | |
19 | ||
20 | ########################################################## | |
21 | # Specific implementation requirements | |
22 | ########################################################## | |
23 | ||
24 | # Java and Zip | |
3ff50204 JM |
25 | RUN apt-get -y install openjdk-7-jdk |
26 | RUN apt-get -y install unzip | |
9a11d93e JFI |
27 | |
28 | RUN curl -O -J -L https://github.com/JetBrains/kotlin/releases/download/build-1.0.0-beta-1038/kotlin-compiler-1.0.0-beta-1038.zip | |
29 | ||
30 | RUN mkdir -p /kotlin-compiler | |
31 | RUN unzip kotlin-compiler-1.0.0-beta-1038.zip -d /kotlin-compiler | |
32 | ||
33 | ENV KOTLIN_HOME /kotlin-compiler/kotlinc | |
34 | ENV PATH $KOTLIN_HOME/bin:$PATH |