blob: 090ef3f6d24779743b498e6450f1f96b4e47a55f [file] [log] [blame]
Andy Bavier4a79ec82018-04-03 09:37:01 -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
17FROM ubuntu:16.04
18
19RUN apt-get update && \
20 apt-get install -y python python-pip python-setuptools
21
22RUN pip install robotframework robotframework-requests \
23 robotframework-httplibrary robotframework-ride pygments pexpect pyyaml
24
25RUN pip install -U requests
26
27RUN mkdir -p /tests
28COPY src /tests
29COPY src/test/cord-api/Properties/K8S_RestApiProperties.py /tests/test/cord-api/Properties/RestApiProperties.py
30
31WORKDIR /tests/test/cord-api/Tests
32
33ENTRYPOINT ["pybot", "-L", "TRACE", "-d", "Log", "-T"]
34CMD ["Ch_ServiceTest.txt"]