FROM fedora:32 ARG repo=https://pagure.io/pagure.git ARG branch=master ENV REPO=$repo ENV BRANCH=$branch RUN dnf -y install \ python3-setuptools \ redhat-rpm-config \ python3-devel \ libgit2-devel \ python3-tox \ libffi-devel \ m2crypto \ zeromq-devel \ gcc \ redis \ which \ git \ glibc-langpack-en RUN cd / \ && GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone -b $BRANCH $REPO \ && chmod +x /pagure/dev/containers/tox_py3.sh WORKDIR /pagure ENTRYPOINT ["/pagure/dev/containers/tox_py3.sh"] CMD []