This repository contains a collection of Features related to Astronomer and Airflow. Each sub-section below shows a sample devcontainer.json
alongside example usage of the Feature.
Running astro [command]
inside the built container will execute the respective command for the Astro CLI.
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/astronomer/codespaces-features/astro-cli:1": {}
},
"postCreateCommand": "bash -i -c 'astro dev start -n --wait 2m'" # Optional
}
$ astro dev start