mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +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 }}
|
||||
{%- if not loop.last %} \{% endif %}
|
||||
|
||||
{% for command in dockerfile.stages.build.commands %}
|
||||
RUN {{ command }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue