mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
fix(docker-compose): remove empty anchors
This commit is contained in:
parent
7af6ec5d8a
commit
db76011b91
|
@ -44,11 +44,11 @@ services:
|
|||
|
||||
{% if "php" == language %}
|
||||
{% set anchors = [
|
||||
"apache" in php.version ? "*default-proxy" : "",
|
||||
"apache" in php.version ? "*default-proxy" : null,
|
||||
"*default-app",
|
||||
] -%}
|
||||
php:
|
||||
<<: [{{ anchors | join(", ") }}]
|
||||
<<: [{{ anchors | filter(item => item is not null) | join(", ") }}]
|
||||
build:
|
||||
context: .
|
||||
target: build
|
||||
|
|
Loading…
Reference in a new issue