ev 1.1 KB

123456789101112131415161718192021222324
  1. FROM registry.fedoraproject.org/fedora:25
  2. MAINTAINER Patrick Uiterwijk <patrick@puiterwijk.org>
  3. VOLUME ["/repos"]
  4. RUN mkdir /code
  5. RUN dnf install -y python2-devel python-setuptools python-nose py-bcrypt python-alembic \
  6. python-arrow python-binaryornot python-bleach python-blinker \
  7. python-chardet python-cryptography python-docutils python-flask \
  8. python-flask-wtf python-flask-multistatic python-markdown python-psutil \
  9. python-pygit2 python-pygments python-fedora python-openid python-openid-cla \
  10. python-openid-teams python-straight-plugin python-wtforms python-munch \
  11. python-enum34 python-redis python-sqlalchemy systemd gitolite3 python-filelock \
  12. python-fedora-flask python2-pillow python2-psycopg2 python-trollius \
  13. python-trollius-redis
  14. RUN dnf install -y python2-celery
  15. WORKDIR /code
  16. ENTRYPOINT ["/usr/bin/python", "/code/ev-server/pagure_stream_server.py"]
  17. # Code injection is last to make optimal use of caches
  18. VOLUME ["/code"]
  19. # Openshift: COPY / /code