Merge pull request #358 from bjh21/bjh21-extra-tests
[jackhill/mal.git] / scala / Dockerfile
1 FROM ubuntu:xenial
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 maven
25 RUN apt-get -y install openjdk-8-jdk
26 #RUN apt-get -y install maven2
27 #ENV MAVEN_OPTS -Duser.home=/mal
28
29 # Scala
30 RUN echo "deb http://dl.bintray.com/sbt/debian /" > /etc/apt/sources.list.d/sbt.list
31 RUN apt-get -y update
32
33 RUN apt-get -y --force-yes install sbt
34 RUN apt-get -y install scala
35 ENV SBT_OPTS -Duser.home=/mal
36