Version: 4.13

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 using docker because nothing is specified and docker is the default build tool for images.