DISABLE FDs (REMOVE ME).
[jackhill/mal.git] / bbc-basic / Dockerfile
CommitLineData
b0fec96b
BH
1FROM ubuntu:18.04
2
3##########################################################
4# General requirements for testing or common across many
5# implementations
6##########################################################
7
8RUN apt-get -y update
9
10# Required for running tests
11RUN apt-get -y install make python
12
13# Some typical implementation and test requirements
14RUN apt-get -y install curl libreadline-dev libedit-dev
15
16RUN mkdir -p /mal
17WORKDIR /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
28RUN apt-get build-dep -y brandy
29RUN cd /tmp && apt-get source brandy && cd brandy-* && \
30 make -f makefile.text && cp sbrandy /usr/bin/sbrandy && \
31 cd /tmp && rm -rf brandy*