mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-13 01:56:58 +00:00
refactor: run each command in a separate layer
This makes it easier to debug from which command an error might be coming from.
This commit is contained in:
parent
fa83cfee63
commit
1e800c0a56
|
@ -29,6 +29,8 @@ RUN {% for command in dockerfile.stages.build.commands %}
|
||||||
{{ command }}
|
{{ command }}
|
||||||
{%- if not loop.last %} \{% endif %}
|
{%- if not loop.last %} \{% endif %}
|
||||||
|
|
||||||
|
{% for command in dockerfile.stages.build.commands %}
|
||||||
|
RUN {{ command }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue