fix(compose): Fix line breaks with multi-component build=yes
This commit is contained in:
parent
6605fe0866
commit
ab9b1009cb
@ -33,9 +33,9 @@ docker context create fully.qualified.domain.name --docker 'host=ssh://root@full
|
|||||||
{%- if cookiecutter.build == "yes" %}
|
{%- if cookiecutter.build == "yes" %}
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
{%- set components = cookiecutter.__component_list_slug.split(',') -%}
|
{% set components = cookiecutter.__component_list_slug.split(',') -%}
|
||||||
{% for component in components %}
|
{%- for component in components %}
|
||||||
{% if loop.first %}
|
{%- if loop.first %}
|
||||||
FIXME We build the `{{ cookiecutter.__service_slug }}` image locally. Our adjustment to the official image is simply adding `/tmp/{{ cookiecutter.__service_slug }}` to it. See {% if ',' in cookiecutter.__component_list_slug %}[build-context/{{ cookiecutter.__service_slug }}/Dockerfile](build-context/{{ cookiecutter.__service_slug }}/Dockerfile){%- else %}[build-context/Dockerfile](build-context/Dockerfile){%- endif %}. We use `/tmp/{{ cookiecutter.__service_slug }}` to bind-mount a dedicated ZFS dataset for the application's `tmpdir` location.
|
FIXME We build the `{{ cookiecutter.__service_slug }}` image locally. Our adjustment to the official image is simply adding `/tmp/{{ cookiecutter.__service_slug }}` to it. See {% if ',' in cookiecutter.__component_list_slug %}[build-context/{{ cookiecutter.__service_slug }}/Dockerfile](build-context/{{ cookiecutter.__service_slug }}/Dockerfile){%- else %}[build-context/Dockerfile](build-context/Dockerfile){%- endif %}. We use `/tmp/{{ cookiecutter.__service_slug }}` to bind-mount a dedicated ZFS dataset for the application's `tmpdir` location.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user