package.dffedora 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Please note that this Dockerfile is used for testing nightly builds and should
  2. # not be used to deploy Odoo
  3. FROM fedora:36
  4. MAINTAINER Odoo S.A. <info@odoo.com>
  5. # Dependencies and postgres
  6. RUN dnf update -d 0 -e 0 -y && \
  7. dnf install -d 0 -e 0 \
  8. createrepo \
  9. libsass \
  10. postgresql \
  11. postgresql-contrib \
  12. postgresql-devel \
  13. postgresql-libs \
  14. postgresql-server \
  15. python3-PyPDF2 \
  16. python3-cryptography \
  17. python3-babel \
  18. python3-chardet \
  19. python3-dateutil \
  20. python3-decorator \
  21. python3-devel \
  22. python3-docutils \
  23. python3-freezegun \
  24. python3-gevent \
  25. python3-greenlet \
  26. python3-idna \
  27. python3-jinja2 \
  28. python3-libsass \
  29. python3-lxml \
  30. python3-markupsafe \
  31. python3-mock \
  32. python3-num2words \
  33. python3-ofxparse \
  34. python3-passlib \
  35. python3-pillow \
  36. python3-polib \
  37. python3-psutil \
  38. python3-psycopg2 \
  39. python3-pydot \
  40. python3-pyldap \
  41. python3-pyOpenSSL \
  42. python3-pyserial \
  43. python3-pytz \
  44. python3-pyusb \
  45. python3-qrcode \
  46. python3-reportlab \
  47. python3-requests \
  48. python3-six \
  49. python3-stdnum \
  50. python3-vobject \
  51. python3-werkzeug \
  52. python3-wheel \
  53. python3-xlrd \
  54. python3-xlsxwriter \
  55. python3-xlwt \
  56. python3-zeep \
  57. rpmdevtools -y && \
  58. dnf clean all
  59. # Postgres configuration
  60. RUN mkdir -p /var/lib/postgres/data
  61. RUN chown -R postgres:postgres /var/lib/postgres/data
  62. RUN su postgres -c "initdb -D /var/lib/postgres/data -E UTF-8"
  63. RUN cp /usr/share/pgsql/postgresql.conf.sample /var/lib/postgres/data/postgresql.conf
  64. RUN echo "PS1=\"[\u@nightly-tests] # \"" > ~/.bashrc