Merge branch 'imp/12.0/docker__remove_openupgrade' into '12.0'

imp/12.0/docker__remove_openupgrade into 12.0

See merge request hibou-io/hibou-odoo/suite!769
This commit is contained in:
Jared Kipe
2021-03-11 21:28:08 +00:00
2 changed files with 0 additions and 28 deletions

View File

@@ -1,19 +1,5 @@
FROM hibou/hibou-odoo:12.0
# All this just for openupgradelib
USER 0
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 --from=hibou/flow /flow /flow
COPY --chown=104 entrypoint.sh /entrypoint.sh

View File

@@ -1,19 +1,5 @@
FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE
# All this just for openupgradelib
USER 0
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 --from=registry.gitlab.com/hibou-io/hibou-odoo/flow /flow /flow
COPY --chown=104 entrypoint.sh /entrypoint.sh