mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
test: Set stop_signal to SIGTERM in nginx-based services
The official nginx images set STOPSIGNAL to SIGQUIT which dumps core. Set it to SIGTERM to avoid dumping core on e2e tests when containers running "sleep infinity" are stopped. Signed-off-by: Ricardo Branco <[email protected]>
This commit is contained in:
committed by
Nicolas De loof
parent
fc209c8f44
commit
668d81d4ec
@@ -6,6 +6,7 @@ services:
|
||||
RUN echo "backend_build_marker" > /built
|
||||
command: sleep infinity
|
||||
init: true
|
||||
stop_signal: SIGTERM
|
||||
frontend:
|
||||
build:
|
||||
dockerfile_inline: |
|
||||
@@ -14,6 +15,7 @@ services:
|
||||
RUN echo "frontend_build_marker" > /built
|
||||
command: sleep infinity
|
||||
init: true
|
||||
stop_signal: SIGTERM
|
||||
depends_on:
|
||||
- backend
|
||||
develop:
|
||||
|
||||
Reference in New Issue
Block a user