Commit | Line | Data |
---|---|---|
92708e34 DM |
1 | FROM ubuntu:bionic |
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 Unzip | |
25 | RUN apt-get -y install openjdk-8-jdk unzip | |
26 | ||
27 | # Fantom and JLine | |
28 | RUN cd /tmp && curl -sfLO https://bitbucket.org/fantom/fan-1.0/downloads/fantom-1.0.70.zip \ | |
29 | && unzip -q fantom-1.0.70.zip \ | |
30 | && rm fantom-1.0.70.zip \ | |
31 | && mv fantom-1.0.70 /opt/fantom \ | |
32 | && cd /opt/fantom \ | |
33 | && bash adm/unixsetup \ | |
34 | && curl -sfL -o /opt/fantom/lib/java/jline.jar https://repo1.maven.org/maven2/jline/jline/2.14.6/jline-2.14.6.jar | |
35 | ||
36 | ENV PATH /opt/fantom/bin:$PATH | |
37 | ENV HOME /mal |