python-redfish/redfish-client/local-checks/Dockerfile.fedora
Uggla 139044083a Fix jenkins tests to allow commits
- 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
2017-01-23 17:37:22 +01:00

11 lines
307 B
Docker

FROM fedora:23
RUN dnf install -y python-pip && \
dnf install -y tar
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
RUN cd python-redfish* && \
pip install -r requirements.txt && \
python setup.py install
CMD ["/bin/bash"]