Kotlin: minor change to re-use layers from Java image.
[jackhill/mal.git] / kotlin / Dockerfile
CommitLineData
9a11d93e
JFI
1FROM ubuntu:vivid
2MAINTAINER Joel Martin <github@martintribe.org>
3
4##########################################################
5# General requirements for testing or common across many
6# implementations
7##########################################################
8
9RUN apt-get -y update
10
11# Required for running tests
12RUN apt-get -y install make python
13
14# Some typical implementation and test requirements
15RUN apt-get -y install curl libreadline-dev libedit-dev
16
17RUN mkdir -p /mal
18WORKDIR /mal
19
20##########################################################
21# Specific implementation requirements
22##########################################################
23
24# Java and Zip
3ff50204
JM
25RUN apt-get -y install openjdk-7-jdk
26RUN apt-get -y install unzip
9a11d93e
JFI
27
28RUN 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
30RUN mkdir -p /kotlin-compiler
31RUN unzip kotlin-compiler-1.0.0-beta-1038.zip -d /kotlin-compiler
32
33ENV KOTLIN_HOME /kotlin-compiler/kotlinc
34ENV PATH $KOTLIN_HOME/bin:$PATH