mirror of
https://github.com/docker/compose.git
synced 2026-08-03 22:27:30 +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 <rbranco@suse.de>
This commit is contained in:
parent
e87f7b79df
commit
558bb3404e
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue