Merge branch 'mig/12.0/oca_auditlog_and_purchase' into '12.0-test'

mig/12.0/oca_auditlog_and_purchase into 12.0-test

See merge request hibou-io/hibou-odoo/suite!546
This commit is contained in:
Hibou Bot
2020-10-30 17:10:43 +00:00
2 changed files with 24 additions and 2 deletions

View File

@@ -1,7 +1,18 @@
FROM hibou/hibou-odoo:12.0
# All this just for openupgradelib
USER 0
RUN pip install git+git://github.com/OCA/openupgradelib.git
RUN set -x; \
apt update && apt install -y git \
&& pip install git+git://github.com/OCA/openupgradelib.git \
# Clean Up
&& apt remove -y git \
&& apt autoremove -y \
&& rm -rf /root/.cache \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/* \
;
USER 104
COPY --chown=104 . /opt/odoo/hibou-suite

View File

@@ -1,7 +1,18 @@
FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE
# All this just for openupgradelib
USER 0
RUN pip install git+git://github.com/OCA/openupgradelib.git
RUN set -x; \
apt update && apt install -y git \
&& pip install git+git://github.com/OCA/openupgradelib.git \
# Clean Up
&& apt remove -y git \
&& apt autoremove -y \
&& rm -rf /root/.cache \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/* \
;
USER 104
COPY --chown=104 . /opt/odoo/hibou-suite