An open API service indexing awesome lists of open source software.

https://github.com/orisano/bctx

bctx is a tool for packing and uploading docker build context.
https://github.com/orisano/bctx

cloudbuild docker gcs s3

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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