FROM debian:stretch RUN apt-get update RUN apt-get install -y python3-pip tox git make RUN git clone https://github.com/t-b/sphinxcontrib-images.git WORKDIR /sphinxcontrib-images RUN git checkout port-to-sphinx-2.x RUN git submodule update --init #RUN pip3 install --upgrade sphinx==2.1 sphinx-rtd-theme==0.1.6 setuptools wheel #RUN pip3 install . #WORKDIR /sphinxcontrib-images/docs #RUN make html #RUN echo foo #RUN pip3 list #RUN false RUN tox -e py35-sphinx21 || true RUN /sphinxcontrib-images/.tox/py35-sphinx21/bin/pip3 install "setuptools<41" RUN tox -e py35-sphinx21