Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integrate frontend/dockerfile/dockerignore from buildkit
Integrating the "frontend/dockerfile/dockerignore" package from github.com/moby/buildkit at commit 9da03ce42beb47d0d0a34c68ea90cac793b79851 Steps taken: # install filter-repo (https://github.com/newren/git-filter-repo/blob/main/INSTALL.md) brew install git-filter-repo # create a temporary clone of docker cd ~/Projects git clone https://github.com/moby/buildkit.git buildkit_temp cd buildkit_temp # commit taken from git rev-parse --verify HEAD 9da03ce42beb47d0d0a34c68ea90cac793b79851 # remove all code, except for 'frontend/dockerfile/dockerignore', and rename to /ignorefile git filter-repo \ --path-match 'frontend/dockerfile/dockerignore/' \ --path-rename frontend/dockerfile/dockerignore/dockerignore.go:ignorefile/ignorefile.go \ --path-rename frontend/dockerfile/dockerignore/dockerignore_test.go:ignorefile/ignorefile_test.go # go to the target github.com/moby/patternmatcher repository cd ~/go/src/github.com/moby/patternmatcher # create a branch to work with git checkout -b integrate_dockerignore # add the temporary repository as an upstream and make sure it's up-to-date git remote add buildkit_temp ~/Projects/buildkit_temp git fetch buildkit_temp # merge the upstream code git merge --allow-unrelated-histories --signoff -S buildkit_temp/master Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information