fedora-pip-py3 648 B

12345678910111213141516171819202122232425262728293031
  1. FROM quay.io/fedora/fedora:33
  2. ARG repo=https://pagure.io/pagure.git
  3. ARG branch=master
  4. ENV REPO=$repo
  5. ENV BRANCH=$branch
  6. RUN dnf -y install \
  7. python3-setuptools \
  8. redhat-rpm-config \
  9. python3-devel \
  10. libgit2-devel \
  11. python3-tox \
  12. libffi-devel \
  13. m2crypto \
  14. zeromq-devel \
  15. gcc \
  16. redis \
  17. which \
  18. git \
  19. glibc-langpack-en
  20. RUN cd / \
  21. && GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone -b $BRANCH $REPO \
  22. && chmod +x /pagure/dev/containers/tox_py3.sh \
  23. && sed -i -e 's|"alembic-3"|"alembic"|' /pagure/tests/test_alembic.py
  24. WORKDIR /pagure
  25. ENTRYPOINT ["/pagure/dev/containers/tox_py3.sh"]
  26. CMD []