| A R Karthick | e3bde96 | 2016-09-27 15:06:35 -0700 | [diff] [blame^] | 1 | FROM xosproject/xos |
| 2 | |||||
| 3 | # install nodejs | ||||
| 4 | COPY containers/xos/nodesource.gpg.key /tmp/nodesource.gpg.key | ||||
| 5 | |||||
| 6 | RUN apt-key add /tmp/nodesource.gpg.key \ | ||||
| 7 | && echo "deb https://deb.nodesource.com/node_4.x trusty main" \ | ||||
| 8 | > /etc/apt/sources.list.d/nodesource.list | ||||
| 9 | |||||
| 10 | RUN apt-get update \ | ||||
| 11 | && apt-get install -y --force-yes \ | ||||
| 12 | nodejs \ | ||||
| 13 | && rm -rf /var/lib/apt/lists/* | ||||
| 14 | |||||
| 15 | RUN node -v | ||||
| 16 | |||||
| 17 | RUN pip install selenium | ||||
| 18 | |||||
| 19 | RUN npm install -g phantomjs | ||||
| 20 | |||||