Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new flag to cleanup the filesystem at the end #370

Merged
merged 1 commit into from
Sep 28, 2018

Commits on Sep 28, 2018

  1. Add a new flag to cleanup the filesystem at the end

    Currently, kaniko can only build a single image per container run, because the filesystem is full of the content of the first image.
    When running kaniko in Jenkins, where we need to start the container "doing nothing" first (using the debug kaniko container), and then exec /kaniko/executor, this is a limitation because it means that if we want to build multiple images, we need to start multiple containers - see https://groups.google.com/forum/#!topic/kaniko-users/_7LivHdMdy0 for more details
    
    A solution to fix this issue is to add a new flag to cleanup the filesystem at the end - the same way it is done between stages when building a multi-stages image. This way, the same (debug) container can be used to build multiple images.
    vbehar committed Sep 28, 2018
    Configuration menu
    Copy the full SHA
    49ab8e4 View commit details
    Browse the repository at this point in the history