package dockerignore

import "github.com/dotcloud/docker/builder/dockerignore"

Package dockerignore is deprecated. Use github.com/moby/buildkit/frontend/dockerfile/dockerignore instead.

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.

Deprecated: use github.com/moby/buildkit/frontend/dockerfile/dockerignore.ReadAll instead.

Source Files

deprecated.go

Version
v20.10.26+incompatible
Published
Aug 30, 2023
Platform
js/wasm
Imports
2 packages
Last checked
5 seconds ago

Tools for package owners.