[FIX] athene upstream build

This commit is contained in:
Jared Kipe
2024-06-11 19:38:20 +00:00
parent 6d4a12e848
commit aced89cc08
2 changed files with 1 additions and 13 deletions

View File

@@ -1,7 +1,6 @@
FROM hibou/hibou-odoo:11.0 FROM hibou/hibou-odoo:11.0
USER odoo USER odoo
COPY --from=registry.gitlab.com/hibou-io/athene /opt/athene /opt/athene
COPY --from=hibou/flow /flow /flow COPY --from=hibou/flow /flow /flow
COPY --chown=104 entrypoint.sh /entrypoint.sh COPY --chown=104 entrypoint.sh /entrypoint.sh
COPY --chown=104 . /opt/odoo/hibou-suite COPY --chown=104 . /opt/odoo/hibou-suite
@@ -14,8 +13,3 @@ RUN cd /opt/odoo/hibou-suite/external/python-amazon-sp-api \
&& pip install . && pip install .
USER 104 USER 104
EXPOSE 3000
ENV SHELL=/bin/bash \
THEIA_DEFAULT_PLUGINS=local-dir:/opt/athene/plugins
ENV USE_LOCAL_GIT true

View File

@@ -1,8 +1,7 @@
FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE FROM registry.gitlab.com/hibou-io/hibou-odoo/odoo:RELEASE
USER odoo USER odoo
COPY --from=registry.gitlab.com/hibou-io/athene /opt/athene /opt/athene COPY --from=registry.gitlab.com/hibou-io/hibou-odoo/flow /flow /flow
COPY --from=hibou/flow /flow /flow
COPY --chown=104 entrypoint.sh /entrypoint.sh COPY --chown=104 entrypoint.sh /entrypoint.sh
COPY --chown=104 . /opt/odoo/hibou-suite COPY --chown=104 . /opt/odoo/hibou-suite
RUN rm /etc/odoo/odoo.conf \ RUN rm /etc/odoo/odoo.conf \
@@ -14,8 +13,3 @@ RUN cd /opt/odoo/hibou-suite/external/python-amazon-sp-api \
&& pip install . && pip install .
USER 104 USER 104
EXPOSE 3000
ENV SHELL=/bin/bash \
THEIA_DEFAULT_PLUGINS=local-dir:/opt/athene/plugins
ENV USE_LOCAL_GIT true