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 ##########################################################
24 # Install g++ for any C/C++ based implementations
25 RUN apt-get -y install g++
28 RUN apt-get -y install xz-utils
29 RUN cd /tmp && curl -O https://nim-lang.org/download/nim-1.0.4.tar.xz \
30 && tar xvJf /tmp/nim-1.0.4.tar.xz && cd nim-1.0.4 \
31 && make && sh install.sh /usr/local/bin \
32 && cp bin/nim /usr/local/bin/ \
33 && rm -r /tmp/nim-1.0.4