2 MAINTAINER Joel Martin <github@martintribe.org>
4 ##########################################################
5 # General requirements for testing or common across many
7 ##########################################################
11 # Required for running tests
12 RUN apt-get -y install make python
14 # Some typical implementation and test requirements
15 RUN apt-get -y install curl libreadline-dev libedit-dev
20 ##########################################################
21 # Specific implementation requirements
22 ##########################################################
27 # For building node modules
28 RUN apt-get -y install g++
30 # Add nodesource apt repo config for 10.x stable
31 RUN apt-get -y install gnupg
32 RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
35 RUN apt-get -y install nodejs
37 ENV NPM_CONFIG_CACHE /mal/.npm
43 RUN apt-get -y install software-properties-common && \
44 add-apt-repository -y ppa:haxe/releases && \
48 RUN apt-get install -y haxe && \
49 mkdir /haxelib && haxelib setup /haxelib
51 # Install support for C++ compilation
52 RUN haxelib install hxcpp