applydockerignore

command module
v0.0.0-...-06775db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

applydockerignore

Introduction

This is a small utility program to apply a dockerignore on a path. .dockerignore files are documented https://docs.docker.com/engine/reference/builder/. As they use Go's filepath.Match rules it is not possible to apply simple bash filter to the dockerignore file.

The use case is where the repository is ADD'ed via a tar file to the docker image temporary directory rather than being processed normally. This program can then be used to post-process that unpacked tar prior to it being manipulated inside the image.

Usage

applydockerignore

The .dockerignore file must exist within the target path.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL