diff --git a/Dockerfile b/Dockerfile index 427e61d0..6f84391a 100644 --- a/Dockerfile +++ b/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 diff --git a/Dockerfile-GitLab b/Dockerfile-GitLab index 63519903..6680edec 100644 --- a/Dockerfile-GitLab +++ b/Dockerfile-GitLab @@ -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