docker: Index | Files

package dockerignore

import ""

Package dockerignore is deprecated. Use instead.


Package Files


func ReadAll Uses

func ReadAll(reader io.Reader) ([]string, error)

ReadAll reads a .dockerignore file and returns the list of file patterns to ignore. Note this will trim whitespace from each line as well as use GO's "clean" func to get the shortest/cleanest path for each.

Deprecated: use instead.

Package dockerignore imports 2 packages (graph) and is imported by 820 packages. Updated 2020-11-19. Refresh now. Tools for package owners.