mirror of
https://github.com/docker/compose.git
synced 2025-07-08 14:24:26 +02:00
It's a flag passed to docker build that removes the intermediate containers left behind on fail builds. Signed-off-by: Adrian Budau <budau.adi@gmail.com>
8 lines
303 B
Docker
8 lines
303 B
Docker
FROM busybox:latest
|
|
LABEL com.docker.compose.test_image=true
|
|
LABEL com.docker.compose.test_failing_image=true
|
|
# With the following label the container wil be cleaned up automatically
|
|
# Must be kept in sync with LABEL_PROJECT from compose/const.py
|
|
LABEL com.docker.compose.project=composetest
|
|
RUN exit 1
|