Merge "Protect vs None when calling regex"
[functest-xtesting.git] / docker / Dockerfile
1 FROM alpine:3.7
2
3 ARG BRANCH=master
4 ARG OPENSTACK_TAG=stable/queens
5
6 RUN apk --no-cache add --update python py-pip bash git && \
7     git clone https://gerrit.opnfv.org/gerrit/functest-xtesting /src/functest-xtesting && \
8     (cd /src/functest-xtesting && git fetch origin $BRANCH && git checkout FETCH_HEAD) && \
9     pip install --no-cache-dir --src /src \
10         -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
11         -chttps://git.opnfv.org/functest-xtesting/plain/upper-constraints.txt?h=$BRANCH \
12         /src/functest-xtesting && \
13     rm -r /src/functest-xtesting
14 CMD ["run_tests", "-t", "all"]