1.0.16 • Published 6 years ago
build-image v1.0.16
This NPM build-image package is used to build docker image.
There are some parameters to be passed. Below are the list of parameters with short description accepted by build-image:
- image_name:- Name of image
- image_tag:- Name of tag
- repo:- Repository name for which you want to clone and build image
- branch:- Branch name of repository for which you want to build
- user:- User name of bitbucket by which cloning can be done. (User should have access to respective repo)
- dockerfile:- Name of dockerfile (optional)
Below will be the command to build image:
- build-image --image_name test --image_tag new --repo lf_activity_log --branch master --user xyz
OR
- bi --image_name test --image_tag new --repo lf_activity_log --branch master --user xyz