summaryrefslogtreecommitdiffstats
path: root/csit/resources/Dockerfile
blob: 786293d3f207f671e7c0fe666cf84233f2721371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM nexus3.onap.org:10001/library/python:3.10-slim-bullseye
ARG CSIT_SCRIPT=${CSIT_SCRIPT}
ARG ROBOT_FILE=${ROBOT_FILE}
ENV ROBOT_WORKSPACE=/opt/robotworkspace ROBOT_FILE=$ROBOT_FILE CLAMP_K8S_TEST=$CLAMP_K8S_TEST
RUN python3 -m pip -qq install --upgrade pip && \
    python3 -m pip -qq install --upgrade --extra-index-url="https://nexus3.onap.org/repository/PyPi.staging/simple" 'robotframework-onap==0.6.0.*' --pre && \
    python3 -m pip -qq install --upgrade confluent-kafka && \
    python3 -m pip freeze
RUN mkdir -p ${ROBOT_WORKSPACE}
COPY scripts/run-test.sh tests/ ${ROBOT_WORKSPACE}/
WORKDIR ${ROBOT_WORKSPACE}
CMD ["sh", "-c", "./run-test.sh" ]