DISABLE FDs (REMOVE ME).
[jackhill/mal.git] / coffee / Dockerfile
CommitLineData
e10ceff5 1FROM ubuntu:18.04
1ac6ed26
JM
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# For building node modules
25RUN apt-get -y install g++
26
e10ceff5
JM
27# Add nodesource apt repo config for 10.x stable
28RUN apt-get -y install gnupg
29RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
1ac6ed26
JM
30
31# Install nodejs
32RUN apt-get -y install nodejs
33
1ac6ed26
JM
34ENV NPM_CONFIG_CACHE /mal/.npm
35
36# CoffeeScript specific
e10ceff5 37RUN npm install -g coffeescript
1ac6ed26
JM
38RUN touch /.coffee_history && chmod go+w /.coffee_history
39