Disable Image Building
disabled
The disabled
option expects a boolean and allows you to disable image building for an image.
Default Value For disabled
disabled: false
Example: Disabling Image Building
images:
frontend:
image: dscr.io/${DEVSPACE_USERNAME}/appfrontend
build:
disabled: true
backend:
image: john/appbackend
Explanation:
- The first image
frontend
would not be built at all. - The second image
backend
would be built usingdocker
because nothing is specified anddocker
is the default build tool for images.