Blame dev/containers/fedora-pip-py3

Pierre-Yves Chibon 86597a
FROM fedora:latest
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
RUN dnf -y install \
Pierre-Yves Chibon 86597a
    python3-setuptools \
Pierre-Yves Chibon 86597a
    redhat-rpm-config \
Pierre-Yves Chibon 86597a
    python3-devel \
Pierre-Yves Chibon 86597a
    libgit2-devel \
Pierre-Yves Chibon 415baf
    python3-tox \
Pierre-Yves Chibon 86597a
    libffi-devel \
Pierre-Yves Chibon 86597a
    m2crypto \
Pierre-Yves Chibon 86597a
    zeromq-devel \
Pierre-Yves Chibon 86597a
    gcc \
Pierre-Yves Chibon 86597a
    redis \
Pierre-Yves Chibon 86597a
    which \
Pierre-Yves Chibon 86597a
    git
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
RUN cd / \
Pierre-Yves Chibon 415baf
    && git clone https://pagure.io/pagure.git \
Pierre-Yves Chibon 415baf
    && chmod +x /pagure/dev/containers/tox_py3.sh
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
# Install pygit2 manually, outside of the virtualenv since it is tightly coupled
Pierre-Yves Chibon 86597a
# which the version of libgit2 installed on the system.
Pierre-Yves Chibon 86597a
RUN pip3 install "pygit2 <= `rpm -q libgit2 --queryformat='%{version}'`" && \
Pierre-Yves Chibon 86597a
    cd /pagure
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
WORKDIR /pagure
Pierre-Yves Chibon 86597a
ENTRYPOINT ["/pagure/dev/containers/tox_py3.sh"]
Pierre-Yves Chibon 86597a
CMD []