Matteo Scandolo | 48d3d2d | 2017-08-08 13:05:27 -0700 | [diff] [blame^] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
A R Karthick | e3bde96 | 2016-09-27 15:06:35 -0700 | [diff] [blame] | 17 | FROM xosproject/xos |
| 18 | |
| 19 | # install nodejs |
| 20 | COPY containers/xos/nodesource.gpg.key /tmp/nodesource.gpg.key |
| 21 | |
| 22 | RUN apt-key add /tmp/nodesource.gpg.key \ |
| 23 | && echo "deb https://deb.nodesource.com/node_4.x trusty main" \ |
| 24 | > /etc/apt/sources.list.d/nodesource.list |
| 25 | |
| 26 | RUN apt-get update \ |
| 27 | && apt-get install -y --force-yes \ |
| 28 | nodejs \ |
| 29 | && rm -rf /var/lib/apt/lists/* |
| 30 | |
| 31 | RUN node -v |
| 32 | |
| 33 | RUN pip install selenium |
| 34 | |
| 35 | RUN npm install -g phantomjs |
| 36 | |