1
0

logcom 1.2 KB

1234567891011121314151617181920212223242526
  1. FROM registry.fedoraproject.org/fedora:27
  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 python2-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
  13. RUN dnf install -y python2-celery
  14. WORKDIR /code
  15. ENTRYPOINT ["/usr/bin/celery", "-A", "pagure.lib.tasks_services", "worker", "--loglevel", "info", "-Q", "pagure_logcom"]
  16. # Code injection is last to make optimal use of caches
  17. VOLUME ["/code"]
  18. # Openshift: COPY / /code
  19. VOLUME ["/attachments"]
  20. # Ideally this would run as non-root, but that needs the /repos owned correctly
  21. ENV C_FORCE_ROOT true