Travis: add remaining implementations.
[jackhill/mal.git] / rpython / Dockerfile
CommitLineData
fc4c7889
JM
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# For building rpython
25RUN apt-get -y install g++
26
27# pypy
28RUN apt-get -y install software-properties-common
29RUN add-apt-repository ppa:pypy
30RUN apt-get -y update
31RUN apt-get -y install pypy
32
33# rpython
34RUN apt-get -y install mercurial libffi-dev pkg-config libz-dev libbz2-dev \
35 libsqlite3-dev libncurses-dev libexpat1-dev libssl-dev
36
37# TODO: combine these
38RUN cd /tmp/ && hg clone https://bitbucket.org/pypy/pypy pypy
39RUN cd /tmp/pypy && make
40