orisano / bctx

bctx is a tool for packing and uploading docker build context.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bctx

bctx is a tool for packing and uploading docker build context.

Installation

go get github.com/orisano/bctx/cmd/bctx

How to use

$ bctx -help
  -dest string
    	destination path, supported gs://, s3:// and dir (required)
  -f string
    	override Dockerfile
  -ignore string
    	.dockerignore path (default "$src/.dockerignore")
  -src string
    	source directory (default ".")

To show files of the build context. (order by size)

$ bctx -dest - | tar tv | sort -k3 -r | less

Author

Nao Yonashiro (@orisano)

License

MIT

About

bctx is a tool for packing and uploading docker build context.

License:MIT License


Languages

Language:Go 96.1%Language:Dockerfile 3.9%