Authoring devfilesOverview

Authoring devfiles

Overview

Creating a minimal devfile

The schemaVersion attribute is mandatory in a devfile.

Procedure

  • Define the schemaVersion attribute in the devfile and specify a static name for the workspace with the name attribute.

    Minimal devfile with schema version and name

    devfile.yaml
    schemaVersion: 2.2.2
    metadata:
      name: devfile-sample
      version: 0.0.1
    

Adding to a minimal devfile

See the following documents to help you add to the minimal devfile to suit your development needs: