mirror of
https://github.com/kanaka/mal.git
synced 2024-11-08 23:27:30 +03:00
6b3ecaa769
By default, garbage collection is enabled. You can run: make USE_GC= to build the C implementation without garbage collection.
29 lines
830 B
Docker
29 lines
830 B
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
|
|
##########################################################
|
|
|
|
# Install g++ for any C/C++ based implementations
|
|
RUN apt-get -y install g++
|
|
|
|
# Libraries needed for the C impl
|
|
RUN apt-get -y install libglib2.0 libglib2.0-dev libffi-dev libgc-dev
|