Issue
If you see the following upon astro airflow start
:
$ astro airflow start
Env file ".env" found. Loading...
Sending build context to Docker daemon 11.78kB
Step 1/1 : FROM astronomerinc/ap-airflow:0.7.5-2-1.9.0-onbuild
manifest for astronomerinc/ap-airflow:0.7.5-2-1.9.0-onbuild not found
Error: command 'docker build -t astronomer/airflow:latest failed: failed to execute cmd: exit status 1
This is unfortunately a known bug on our side, whereby running astro airflow init
will by default install a version of our CLI that’s incompatible with that docker image.
Fix
If you are using the latest version of the CLI (currently only for enterprise users), change the FROM line to:
FROM astronomerinc/ap-airflow:0.9.0-1.10.3-onbuild
If you are using Cloud, use:
FROM astronomerinc/ap-airflow:0.7.5-1.10.1-onbuild