fedora-pip-py3 633 B

123456789101112131415161718192021222324252627282930
  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. zeromq-devel \
  14. gcc \
  15. redis \
  16. which \
  17. git \
  18. glibc-langpack-en
  19. RUN cd / \
  20. && GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone -b $BRANCH $REPO \
  21. && chmod +x /pagure/dev/containers/tox_py3.sh \
  22. && sed -i -e 's|"alembic-3"|"alembic"|' /pagure/tests/test_alembic.py
  23. WORKDIR /pagure
  24. ENTRYPOINT ["/pagure/dev/containers/tox_py3.sh"]
  25. CMD []