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.
- Host: GitHub
- URL: https://github.com/orisano/bctx
- Owner: orisano
- License: mit
- Created: 2019-05-29T10:47:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-26T09:22:54.000Z (over 1 year ago)
- Last Synced: 2025-05-01T00:51:19.517Z (about 1 year ago)
- Topics: cloudbuild, docker, gcs, s3
- Language: Go
- Homepage:
- Size: 5.38 MB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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