blue-build 0.3.13

A CLI tool built for creating Containerfile templates based on the Ublue Community Project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{%- for module in modules %}
	{%- if let Some(type) = module.module_type %}
		{%- if type == "containerfile" %}
			{%- if let Some(containerfiles) = self::get_containerfile_list(module) %}
				{%- for c in containerfiles %}
{{ self::print_containerfile(c) }}
				{%- endfor %}
			{%- endif %}
		{%- else %}
RUN chmod +x /tmp/modules/{{ type }}/{{ type }}.sh && source /tmp/exports.sh && /tmp/modules/{{ type }}/{{ type }}.sh '{{ self::print_module_context(module) }}'
		{%- endif %}
	{%- else if let Some(from_file) = module.from_file %}
{{ self::get_module_from_file(from_file) }}
	{%- endif %}
{%- endfor %}