package dockerignore

import "github.com/moby/buildkit/frontend/dockerfile/dockerignore"

Index

Functions

func ReadAll

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.

Source Files

dockerignore.go

Version
v0.12.0-rc2
Published
Jul 10, 2023
Platform
windows/amd64
Imports
6 packages
Last checked
7 hours ago

Tools for package owners.