139044083a
- Do not pass tests on redfish-client Currently tests are using a local docker container. We remove them to allow jenkins tests to pass. - Move programme usage in a separate file to get rid of pep8 issue. - Fix tox venv usage - Add flake8 test dependency Change-Id: I12f3a567f3ff83c34c3832a544ef547372857161
17 lines
538 B
Docker
17 lines
538 B
Docker
FROM debian:jessie
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update && \
|
|
apt-get install -y apt-utils && \
|
|
apt-get install -y python-pip
|
|
COPY python-redfish.src.tar.gz /python-redfish.src.tar.gz
|
|
RUN mkdir /var/log/python-redfish
|
|
RUN tar xvvf python-redfish.src.tar.gz
|
|
# Need a really recent version of setuptools to support
|
|
# configparser>=3.3.0; python_version < '3' in requirements.txt
|
|
RUN pip install --upgrade setuptools
|
|
RUN cd python-redfish* && \
|
|
pip install -r requirements.txt && \
|
|
python setup.py install
|
|
CMD ["/bin/bash"]
|
|
|