public DirectoryWalker filterRoot() {
    filter(path -> !path.equals(rootDir));
    return this;
  }
Filters away the {@code rootDir}.

@return this
jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/DirectoryWalker.java