aboutsummaryrefslogtreecommitdiffstats
path: root/smoke-usecases-pythonsdk/docker/Dockerfile
blob: 03227744a8ac1a7c2fbe96569b44088bac914059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM opnfv/xtesting

MAINTAINER Morgan Richomme <morgan.richomme@orange.com>

ARG ONAP_TESTS_TAG=master

RUN apk add --no-cache python3 git && \
    apk add --no-cache --virtual .build-deps libffi-dev python3-dev \
        gcc openssl-dev linux-headers musl-dev && \
    pip3 install --upgrade pip && \
    pip3 install --no-cache-dir \
        git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG && \
    apk del .build-deps

COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]