summaryrefslogtreecommitdiff
path: root/setup/package.dffedora
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2019-09-27 10:01:58 +0000
committerChristophe Monniez <moc@odoo.com>2019-10-02 14:24:53 +0000
commit8c4c4394730bf77d44f831ca97d565bc2fb14e47 (patch)
treec542aac4c21853e6ff62dec1fbf1e916a5f48ce2 /setup/package.dffedora
parente10a402531e879636d2c57606378d4a13cc696a4 (diff)
[REF] packaging: use docker to build packages
Actually, docker is used to test Linux packages once they are built. The packaging process is done on the host system where package.py is run. Consequences: * difficult to reproduce an exact same build on another host * changing a Debian/Ubuntu target version means some upgrade steps on the build host (mix that with the fact that the host also could build old Odoo versions) * Fedora rpm package is built on an Ubuntu system (which is not a real problem but it could be) With this commit, the package.py utility is refactored to use Docker containers to build the Gnu/Linux packages. Also, the Debian package is adapted for Debian Buster, the RPM package is built based on Fedora 30. Some minor changes are also made in the windows packaging system. closes odoo/odoo#37766 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'setup/package.dffedora')
-rw-r--r--setup/package.dffedora8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup/package.dffedora b/setup/package.dffedora
index b455b49db3c..6f745e1b533 100644
--- a/setup/package.dffedora
+++ b/setup/package.dffedora
@@ -1,6 +1,6 @@
# Please note that this Dockerfile is used for testing nightly builds and should
# not be used to deploy Odoo
-FROM fedora:26
+FROM fedora:30
MAINTAINER Odoo S.A. <info@odoo.com>
# Dependencies and postgres
@@ -45,17 +45,17 @@ RUN dnf update -d 0 -e 0 -y && \
python3-werkzeug \
python3-xlwt \
python3-xlrd \
+ python3-xlsxwriter \
libsass \
pytz \
postgresql \
postgresql-server \
postgresql-libs \
postgresql-contrib \
- postgresql-devel -y && \
+ postgresql-devel \
+ rpmdevtools -y && \
dnf clean all
-RUN pip3 install XlsxWriter
-
# Postgres configuration
RUN mkdir -p /var/lib/postgres/data
RUN chown -R postgres:postgres /var/lib/postgres/data