Add helm charts for distribution and http-ppnt in CSIT
[policy/docker.git] / csit / resources / Dockerfile
1 FROM python:3
2 ARG CSIT_SCRIPT=${CSIT_SCRIPT}
3 ARG ROBOT_FILE=${ROBOT_FILE}
4 ENV ROBOT_WORKSPACE /opt/robotworkspace
5 ENV ROBOT_FILE $ROBOT_FILE
6 RUN python3 -m pip install --upgrade pip
7 RUN python3 -m pip install --upgrade --extra-index-url="https://nexus3.onap.org/repository/PyPi.staging/simple" 'robotframework-onap==0.5.1.*' --pre
8 RUN python3 -m pip freeze
9 RUN mkdir -p ${ROBOT_WORKSPACE}
10 COPY ${CSIT_SCRIPT} ${ROBOT_WORKSPACE}/
11 COPY tests/ ${ROBOT_WORKSPACE}/
12 WORKDIR ${ROBOT_WORKSPACE}
13 RUN chmod +x run-test.sh
14 CMD ["sh", "-c", "./run-test.sh" , "${ROBOT_FILE}"]