mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +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 %}
|
||||
{% if not loop.first %} && {% endif %}
|
||||
{{- command }}
|
||||
{{ command }}
|
||||
{%- if not loop.last %} \{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
@ -40,8 +41,9 @@ COPY . .
|
|||
|
||||
RUN {% for command in dockerfile.stages.test.commands -%}
|
||||
{% if not loop.first %} && {% endif %}
|
||||
{{- command }}
|
||||
{{ command }}
|
||||
{%- if not loop.last %} \{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue