Docker file naming convention

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
shivamcandela
2021-04-08 21:57:32 +05:30
parent c393eb724c
commit f3ea0a344a
2 changed files with 14 additions and 0 deletions

11
tests/Dockerfile Normal file
View File

@@ -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" ]

3
tests/Dockerfile-lint Normal file
View File

@@ -0,0 +1,3 @@
FROM wlan-tip-tests
RUN pip3 install pylint
ENTRYPOINT [ "pylint" ]