load-file: accept empty file or final comment, return nil
[jackhill/mal.git] / guile / Dockerfile
CommitLineData
fc4c7889
JM
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# Guile
25RUN apt-get -y install libunistring-dev libgc-dev autoconf libtool flex gettext texinfo libgmp-dev
26RUN apt-get -y install git pkg-config libffi-dev
27# TODO: remove /tmp/guile in same command
28RUN git clone git://git.sv.gnu.org/guile.git /tmp/guile \
29 && cd /tmp/guile && ./autogen.sh && ./configure && make && make install
30RUN ldconfig
31# TODO: move this up with other deps
32RUN apt-get -y install libpcre3 libpcre3-dev
33