1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-10 12:47:45 +03:00
mal/guile/Dockerfile
Joel Martin fc4c7889cb Travis: add remaining implementations.
- new impls: awk, crystal, elixir, erlang, es6, fsharp, groovy, guile
  (disabled), rpython (disabled)
2015-10-07 21:46:12 -05:00

34 lines
1.1 KiB
Docker

FROM ubuntu:vivid
MAINTAINER Joel Martin <github@martintribe.org>
##########################################################
# General requirements for testing or common across many
# implementations
##########################################################
RUN apt-get -y update
# Required for running tests
RUN apt-get -y install make python
# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev
RUN mkdir -p /mal
WORKDIR /mal
##########################################################
# Specific implementation requirements
##########################################################
# Guile
RUN apt-get -y install libunistring-dev libgc-dev autoconf libtool flex gettext texinfo libgmp-dev
RUN apt-get -y install git pkg-config libffi-dev
# TODO: remove /tmp/guile in same command
RUN git clone git://git.sv.gnu.org/guile.git /tmp/guile \
&& cd /tmp/guile && ./autogen.sh && ./configure && make && make install
RUN ldconfig
# TODO: move this up with other deps
RUN apt-get -y install libpcre3 libpcre3-dev