[REM] Dockerfile: git and openupgrade, provided up upstream image built for Odoo now

This commit is contained in:
Jared Kipe
2021-01-11 08:25:39 -08:00
parent 9c2c552529
commit 84f6d0f268
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