1 FROM opnfv/functest-core
4 ARG OPENSTACK_TAG=stable/ocata
7 COPY thirdparty-requirements.txt thirdparty-requirements.txt
8 RUN apk --no-cache add --update nodejs nodejs-npm && \
9 apk --no-cache add --virtual .build-deps --update \
10 python-dev build-base linux-headers libffi-dev \
11 openssl-dev libjpeg-turbo-dev git && \
12 pip install --no-cache-dir --src /src \
13 -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
14 -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
15 -rthirdparty-requirements.txt && \
16 npm -g install npm@latest && \
17 (cd /src/promise/source && npm install) && \
18 git clone --depth 1 -b $DOMINO_TAG https://gerrit.opnfv.org/gerrit/domino /src/domino && \
19 rm -r thirdparty-requirements.txt /src/domino/.git && \
21 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
22 CMD ["bash","-c","prepare_env start && run_tests -t all"]