1
0

logcom 1.3 KB

12345678910111213141516171819202122232425262728
  1. FROM registry.fedoraproject.org/fedora:28
  2. MAINTAINER Patrick Uiterwijk <patrick@puiterwijk.org>
  3. VOLUME ["/repos"]
  4. RUN mkdir /code
  5. RUN dnf install -y python3-devel python3-setuptools python3-nose python3-bcrypt python3-alembic \
  6. python3-arrow python3-binaryornot python3-bleach python3-blinker \
  7. python3-chardet python3-cryptography python3-docutils python3-flask \
  8. python3-flask-wtf python3-markdown python3-psutil \
  9. python3-pygit2 python3-fedora python3-openid python3-openid-cla \
  10. python3-openid-teams python3-straight-plugin python3-wtforms python3-munch \
  11. python3-enum34 python3-redis python3-sqlalchemy systemd gitolite3 \
  12. python3-filelock \
  13. python3-fedora-flask python3-pillow python3-psycopg2 python3-requests \
  14. python3-kitchen
  15. RUN dnf install -y python3-celery
  16. WORKDIR /code
  17. ENTRYPOINT ["/usr/bin/celery-3", "-A", "pagure.lib.tasks_services", "worker", "--loglevel", "info", "-Q", "pagure_logcom"]
  18. # Code injection is last to make optimal use of caches
  19. VOLUME ["/code"]
  20. # Openshift: COPY / /code
  21. VOLUME ["/attachments"]
  22. # Ideally this would run as non-root, but that needs the /repos owned correctly
  23. ENV C_FORCE_ROOT true