
- Update setuptools within dockerfiles to support requirements.txt syntax. - Check that tests can be run with Python2 and 3.
11 lines
307 B
Docker
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"]
|