mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +00:00
Most e2e coverage of the start phase runs detached; the foreground `up`, whose create and start phases are driven by separate code paths, had none for hooks, health-gated dependencies, a container that exits as soon as it starts, restarts of exited containers, recreation, dependency timeouts or dry-run. Add scenarios that fix these observables before the machinery behind it changes. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
4 lines
122 B
YAML
4 lines
122 B
YAML
services:
|
|
app:
|
|
image: alpine
|
|
command: sh -c 'if [ -f /tmp/ran ]; then echo second-run; else touch /tmp/ran; fi'
|