Merge pull request #273 from wasamasa/r7rs-implementation
[jackhill/mal.git] / js / Dockerfile
CommitLineData
cf1d3eae
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
e152d488 15RUN apt-get -y install curl libreadline-dev libedit-dev
cf1d3eae
JM
16
17RUN mkdir -p /mal
18WORKDIR /mal
19
20##########################################################
21# Specific implementation requirements
22##########################################################
23
e152d488
JM
24# For building node modules
25RUN apt-get -y install g++
26
cf1d3eae
JM
27# Add nodesource apt repo config for 0.12 stable
28RUN curl -sL https://deb.nodesource.com/setup_0.12 | bash -
29
30# Install nodejs
31RUN apt-get -y install nodejs
32
33# Link common name
34RUN ln -sf nodejs /usr/bin/node
35
f7824465 36ENV NPM_CONFIG_CACHE /mal/.npm
cf1d3eae 37