blob: f4e08515ccfe7dc99eda4d237005964f86079cc4 [file] [log] [blame]
Matteo Scandolo48d3d2d2017-08-08 13:05:27 -07001
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 Karthicke3bde962016-09-27 15:06:35 -070017FROM xosproject/xos
18
19# install nodejs
20COPY containers/xos/nodesource.gpg.key /tmp/nodesource.gpg.key
21
22RUN 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
26RUN apt-get update \
27 && apt-get install -y --force-yes \
28 nodejs \
29 && rm -rf /var/lib/apt/lists/*
30
31RUN node -v
32
33RUN pip install selenium
34
35RUN npm install -g phantomjs
36