Skip to content
Snippets Groups Projects
Commit 1ff0f2e5 authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

feat(build): print the content of commits file while building image

parent 7eb252ab
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,9 @@ RUN set -x; \ ...@@ -58,7 +58,9 @@ RUN set -x; \
&& echo "${repo};${commit}" > $SAVE_COMMITS_DIR/$SAVE_COMMITS_FILENAME \ && echo "${repo};${commit}" > $SAVE_COMMITS_DIR/$SAVE_COMMITS_FILENAME \
&& rm -r /tmp/repo \ && rm -r /tmp/repo \
# Only keep French translations. # Only keep French translations.
&& find /opt/odoo/odoo/addons/*/i18n/ /opt/odoo/odoo/odoo/addons/base/i18n/ -type f -not -name 'fr.po' -delete && find /opt/odoo/odoo/addons/*/i18n/ /opt/odoo/odoo/odoo/addons/base/i18n/ -type f -not -name 'fr.po' -delete \
&& echo "info: OCB commit:" \
&& cat $SAVE_COMMITS_DIR/$SAVE_COMMITS_FILENAME
# Add script to download Odoo addons. # Add script to download Odoo addons.
COPY --chown=root:root --chmod=755 ./get_addons /usr/local/bin COPY --chown=root:root --chmod=755 ./get_addons /usr/local/bin
...@@ -116,7 +118,9 @@ RUN set -x; \ ...@@ -116,7 +118,9 @@ RUN set -x; \
# Install Le Filament default addons. # Install Le Filament default addons.
&& get_addons 'https://sources.le-filament.com/lefilament/remove_login_links.git' '16.0' 'private_addons/remove_login_links' \ && get_addons 'https://sources.le-filament.com/lefilament/remove_login_links.git' '16.0' 'private_addons/remove_login_links' \
&& get_addons 'https://sources.le-filament.com/lefilament/lefilament_release_agent.git' '16.0' 'private_addons/lefilament_release_agent' \ && get_addons 'https://sources.le-filament.com/lefilament/lefilament_release_agent.git' '16.0' 'private_addons/lefilament_release_agent' \
&& get_addons 'https://sources.le-filament.com/lefilament/restrict_access_rights.git' '16.0' 'private_addons/restrict_access_rights' && get_addons 'https://sources.le-filament.com/lefilament/restrict_access_rights.git' '16.0' 'private_addons/restrict_access_rights' \
&& echo "info: default addon commits:" \
&& cat $SAVE_COMMITS_DIR/$SAVE_COMMITS_FILENAME
# Copy entrypoint script and Odoo configuration file # Copy entrypoint script and Odoo configuration file
COPY ./entrypoint.sh / COPY ./entrypoint.sh /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment