python-redfish/redfish-client/tests/Dockerfile.fedorap3
Uggla 66cb53df4e Add tests to validate python-redfish is working with python3
- Update setuptools within dockerfiles to support requirements.txt syntax.
- Check that tests can be run with Python2 and 3.
2016-03-07 11:15:32 +01:00

12 lines
311 B
Docker

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