Repository URL to install this package:
|
Version:
1.0.0b1 ▾
|
args:
base_path:
doc:
short_help: The path where the Dockerfile and build context live.
type: string
required: true
cli:
param_type: argument
name:
doc:
short_help: The name of the image.
type: string
required: true
force:
doc:
short_help: Whether to force the build to be done, even if an image with that name exists already.
type: boolean
default: false
required: false
nocache:
doc:
short_help: Whether to use cache when building an image.
type: boolean
default: false
required: false
cli:
param_decls:
- --no-cache
frecklets:
- docker-service
- frecklet:
name: docker_image
type: ansible-module
desc:
short: "build docker image '{{:: name ::}}'"
long: |
"Build a docker image with the name '{{:: name ::}}' from the Dockerfile in folder '{{:: base_path ::}}'
task:
pip_dependencies:
- docker
vars:
build:
path: '{{:: base_path ::}}'
nocache: '{{:: nocache ::}}'
name: '{{:: name ::}}'
source: build
force: '{{:: force ::}}'
meta: {}
doc: {}