mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[REM] Dockerfile: git and openupgrade, provided up upstream image built for Odoo now
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user