Commit | Line | Data |
---|---|---|
b0fec96b BH |
1 | FROM ubuntu:18.04 |
2 | ||
3 | ########################################################## | |
4 | # General requirements for testing or common across many | |
5 | # implementations | |
6 | ########################################################## | |
7 | ||
8 | RUN apt-get -y update | |
9 | ||
10 | # Required for running tests | |
11 | RUN apt-get -y install make python | |
12 | ||
13 | # Some typical implementation and test requirements | |
14 | RUN apt-get -y install curl libreadline-dev libedit-dev | |
15 | ||
16 | RUN mkdir -p /mal | |
17 | WORKDIR /mal | |
18 | ||
19 | ########################################################## | |
20 | # Specific implementation requirements | |
21 | ########################################################## | |
22 | ||
7a18529b BH |
23 | # These may be necessary for some base Ubuntu containers. |
24 | # RUN sed 's/^deb/deb-src/' \ | |
25 | # < /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list | |
26 | # RUN apt-get update | |
27 | ||
b0fec96b BH |
28 | RUN apt-get build-dep -y brandy |
29 | RUN cd /tmp && apt-get source brandy && cd brandy-* && \ | |
30 | make -f makefile.text && cp sbrandy /usr/bin/sbrandy && \ | |
31 | cd /tmp && rm -rf brandy* |