This patch extends dcmerge to support the command attribut of a defined service. For example: ```yaml services: busybox command: [ "/usr/bin/cp", "--recursive", "--force", "/tmp/bar.txt", "/tmp/foo.txt"] image: library/busybox:latest ``` The command attribute is interpreted as a whole. This means that individual arguments are not merged as a comparison, as this would change the meaning of the command attribute.
4 lines
145 B
YAML
4 lines
145 B
YAML
services:
|
|
frontend:
|
|
command: [ "/usr/bin/cp", "--recursive", "--force", "/tmp/foo.txt", "/tmp/bar.txt" ]
|
|
image: library/frontend:latest |