fix: remove tracing

This commit is contained in:
Gerald Pinder 2023-10-27 17:43:36 -04:00
parent f2ab9bfd4a
commit 52936fffb1

View file

@ -37,7 +37,7 @@ ARG BASE_IMAGE="{{ base_image }}"
{% macro run_modules(module) %}
{% if module.type %}
RUN chmod +x /tmp/modules/{{ module.type }}/{{ module.type }}.sh
RUN set -x && source /tmp/exports.sh && OS_VERSION="$(grep -Po '(?<=VERSION_ID=)\d+' /usr/lib/os-release)" /tmp/modules/{{ module.type }}/{{ module.type }}.sh "$(echo -e "{{ print_module_context(module = module) }}")"
RUN source /tmp/exports.sh && OS_VERSION="$(grep -Po '(?<=VERSION_ID=)\d+' /usr/lib/os-release)" /tmp/modules/{{ module.type }}/{{ module.type }}.sh "$(echo -e "{{ print_module_context(module = module) }}")"
{% elif module["from-file"] %}
{% set extra_module = get_module_from_file(file = module["from-file"]) %}
{% for m in extra_module.modules %}