Makefile offers handy commands to work with image locally.
Build image locally.
$ make build
Push image to registry.
$ make push
Run a bash shell on an temporary instance of the image.
$ make shell
Run a command on an temporary instance of the image.
$ make run CMD='echo "hello world"'
Build image locally, then push it to remote registry.
$ make release
Build Arguments are set using the hooks overrides, documentation available here.
├── hooks
│ └── build