summaryrefslogtreecommitdiffstats
path: root/cmso-robot/docker/Dockerfile
blob: b70c16bec3d43cd99213f5be51e6fadba928b35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM robotframework/rfdocker:3.1.1

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

###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