mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 18:12:34 +00:00
Docker file naming convention
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
11
tests/Dockerfile
Normal file
11
tests/Dockerfile
Normal 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
3
tests/Dockerfile-lint
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM wlan-tip-tests
|
||||
RUN pip3 install pylint
|
||||
ENTRYPOINT [ "pylint" ]
|
||||
Reference in New Issue
Block a user