diff --git a/tests/Dockerfile b/tests/Dockerfile new file mode 100644 index 000000000..782cd092e --- /dev/null +++ b/tests/Dockerfile @@ -0,0 +1,11 @@ +FROM python:alpine3.12 +WORKDIR /tests +COPY . /tests + +RUN mkdir ~/.pip \ + && echo "[global]" > ~/.pip/pip.conf \ + && echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf \ + && echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf +RUN pip3 install -r requirements.txt + +ENTRYPOINT [ "/bin/sh" ] diff --git a/tests/Dockerfile-lint b/tests/Dockerfile-lint new file mode 100644 index 000000000..bcab34e7f --- /dev/null +++ b/tests/Dockerfile-lint @@ -0,0 +1,3 @@ +FROM wlan-tip-tests +RUN pip3 install pylint +ENTRYPOINT [ "pylint" ]