DISABLE FDs (REMOVE ME).
[jackhill/mal.git] / chuck / Dockerfile
CommitLineData
2b52a2a5
VS
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# Chuck
25RUN apt-get -y install bison gcc g++ flex
26RUN apt-get -y install libasound2-dev libsndfile1-dev
27RUN cd /tmp && curl -O http://chuck.cs.princeton.edu/release/files/chuck-1.3.5.2.tgz \
28 && tar xvzf /tmp/chuck-1.3.5.2.tgz && cd chuck-1.3.5.2/src \
29 && make linux-alsa && make install \
30 && rm -r /tmp/chuck-1.3.5.2*
31
32ENV HOME /mal