Commit | Line | Data |
---|---|---|
e10ceff5 | 1 | FROM ubuntu:18.04 |
cf1d3eae JM |
2 | MAINTAINER Joel Martin <github@martintribe.org> |
3 | ||
4 | ########################################################## | |
5 | # General requirements for testing or common across many | |
6 | # implementations | |
7 | ########################################################## | |
8 | ||
9 | RUN apt-get -y update | |
10 | ||
11 | # Required for running tests | |
12 | RUN apt-get -y install make python | |
13 | ||
14 | # Some typical implementation and test requirements | |
e152d488 | 15 | RUN apt-get -y install curl libreadline-dev libedit-dev |
cf1d3eae JM |
16 | |
17 | RUN mkdir -p /mal | |
18 | WORKDIR /mal | |
19 | ||
20 | ########################################################## | |
21 | # Specific implementation requirements | |
22 | ########################################################## | |
23 | ||
e152d488 JM |
24 | # For building node modules |
25 | RUN apt-get -y install g++ | |
26 | ||
e10ceff5 JM |
27 | # Add nodesource apt repo config for 10.x stable |
28 | RUN apt-get -y install gnupg | |
29 | RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
cf1d3eae JM |
30 | |
31 | # Install nodejs | |
32 | RUN apt-get -y install nodejs | |
33 | ||
f7824465 | 34 | ENV NPM_CONFIG_CACHE /mal/.npm |