Creating a devfile
To create a devfile, you can start from scratch or use the public community devfile registry to find predefined stacks for popular languages and frameworks. Once you have a devfile, save it as
.devfile.yaml to your application’s root directory.
Resources to include with your devfile
If the devfile contains outerloop support, make sure the required files are included in your application with the correct path. Some common examples include:
- The devfile contains an image component that uses a
components: - name: outerloop-build image: imageName: image:latest dockerfile: uri: docker/Dockerfile
- The devfile contains a deploy component:
components: - name: outerloop-deploy kubernetes: uri: kubernetes/deploy.yaml
Check out the devfile schema for supported components.