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 support for .dockerignore file #394

Merged
merged 5 commits into from
Oct 30, 2018

Commits on Oct 12, 2018

  1. Add --ignore flag

    Added a --ignore flag to ignore packages and files in the build context.
    This should mimic the .dockerignore file. Before starting the build, we
    go through and delete ignored files from the build context.
    Priya Wadhwa committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    a572774 View commit details
    Browse the repository at this point in the history
  2. Add test dir for ignore files

    It seems like .dockerignore deletes files containeed within the file locally upon
    docker build, so I created a temporary test dir to make sure the
    --ignore flag works. We make sure it exists before building docker and
    kaniko for Dockerfile_test_ignore, and then delete it after the builds
    have completed.
    Priya Wadhwa committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    adac8d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2018

  1. Add support for .dockerignore file

    Priya Wadhwa committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    3fc43f4 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. Fix integration tests

    Priya Wadhwa committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    cb0a5e0 View commit details
    Browse the repository at this point in the history
  2. don't delete .dockerignore

    Priya Wadhwa committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    ff4e624 View commit details
    Browse the repository at this point in the history