Parses a .dockerignore into an ImageIgnoreFileFunc, which should match Docker's .dockerignore semantics.
.dockerignore
Parses a
.dockerignoreinto an ImageIgnoreFileFunc, which should match Docker's.dockerignoresemantics.