blob: 4fd80d005aa2731a151dc111b2e4b679478e51ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
FROM ppodgorsek/robot-framework:latest
MAINTAINER "CMSO"
LABEL name="Docker image for the CMSO Robot Testing Framework"
LABEL usage="docker run -e <testname> optf-cmso-robot"
COPY /onap-cmso/robot /opt/cmso-robot/robot
COPY /onap-cmso/ete.sh /opt/cmso-robot
RUN chmod 777 /opt/cmso-robot/ete.sh
COPY /onap-cmso/server.py /opt/cmso-robot
RUN pip install Flask
RUN pip install 'PyYAML==3.12'
RUN pip install 'selenium'
RUN pip install 'requests'
RUN pip install 'robotframework-selenium2library'
RUN pip install 'robotframework-databaselibrary'
RUN pip install 'robotframework-extendedselenium2library'
RUN pip install 'robotframework-requests'
RUN pip install 'robotframework-sshlibrary'
RUN pip install 'robotframework-sudslibrary'
RUN pip install 'robotframework-ftplibrary'
RUN pip install 'robotframework-rammbock'
RUN pip install 'deepdiff'
RUN pip install 'dnspython'
RUN pip install 'robotframework-httplibrary'
RUN pip install 'robotframework-archivelibrary'
###Just to keep it running
CMD ["/usr/bin/python", "/opt/cmso-robot/server.py"]
### Use --entrypoint to override to run the tests test and exit
### --entrypoint /opt/cmso-robot/ete.sh
|