Commit | Line | Data |
---|---|---|
ecdbada1 JM |
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 | # Factor | |
25 | RUN apt-get -y install libgtkglext1 | |
26 | RUN cd /usr/lib/x86_64-linux-gnu/ \ | |
27 | && curl -O http://downloads.factorcode.org/releases/0.97/factor-linux-x86-64-0.97.tar.gz \ | |
28 | && tar xvzf factor-linux-x86-64-0.97.tar.gz \ | |
29 | && ln -sf /usr/lib/x86_64-linux-gnu/factor/factor /usr/bin/factor \ | |
30 | && rm factor-linux-x86-64-0.97.tar.gz | |
31 |