Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Only "created" containers #193

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rpatel-vt
Copy link

In our scenario we use multistage docker builds and intermediate containers are not created are never executed. In those scenario we would like to keep those containers till GRACE_PERIOD_SECONDS.

Copy link
Contributor

@davidxia davidxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR. Could you add an env var EXCLUDE_INTERMEDIATE_CONTAINERS that defaults to false and use that in the conditional? This way the behavior won't change and will be opt in for existing users.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants