mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
fix: Commands should be separated by newlines
This commit is contained in:
parent
076d994baf
commit
4a575c7d14
|
@ -26,8 +26,9 @@ RUN docker-php-ext-install {{ dockerfile.stages.build.extensions.install | join(
|
||||||
|
|
||||||
RUN {% for command in dockerfile.stages.build.commands %}
|
RUN {% for command in dockerfile.stages.build.commands %}
|
||||||
{% if not loop.first %} && {% endif %}
|
{% if not loop.first %} && {% endif %}
|
||||||
{{- command }}
|
{{ command }}
|
||||||
{%- if not loop.last %} \{% endif %}
|
{%- if not loop.last %} \{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -40,8 +41,9 @@ COPY . .
|
||||||
|
|
||||||
RUN {% for command in dockerfile.stages.test.commands -%}
|
RUN {% for command in dockerfile.stages.test.commands -%}
|
||||||
{% if not loop.first %} && {% endif %}
|
{% if not loop.first %} && {% endif %}
|
||||||
{{- command }}
|
{{ command }}
|
||||||
{%- if not loop.last %} \{% endif %}
|
{%- if not loop.last %} \{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue